mirror of
https://github.com/maputnik/editor.git
synced 2026-08-27 07:27:33 +00:00
Load icons explicit and implement save
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ export class StyleStore {
|
||||
// Find the last edited style
|
||||
latestStyle() {
|
||||
if(this.mapStyles.length == 0) {
|
||||
return Immutable.fromJS(emptyStyle)
|
||||
return ensureOptionalStyleProps(Immutable.fromJS(emptyStyle))
|
||||
}
|
||||
const styleId = window.localStorage.getItem(storage.keys.latest)
|
||||
const styleItem = window.localStorage.getItem(styleKey(styleId))
|
||||
|
||||
Reference in New Issue
Block a user