Skip to content

Commit 33f14c9

Browse files
committed
fixed sourse settings bug
1 parent 8d46354 commit 33f14c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/Vmap/Vmapbox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default class Vmapbox extends React.Component {
163163
if (!matchKey) return {url: url};
164164
const settings = Msource.getSettings(matchKey);
165165

166-
if (!settings.has('headers')){
166+
if (!settings || !settings.has('headers')){
167167
return {url: url};
168168
}
169169
return {

0 commit comments

Comments
 (0)