mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-06-11 18:43:22 +02:00
Remove icons.
This commit is contained in:
@ -27,13 +27,9 @@
|
||||
"things_pin",
|
||||
"things_window-layout",
|
||||
"things_bubbles",
|
||||
"object_key",
|
||||
"object_pencil",
|
||||
"object_magnifier",
|
||||
"object_clip",
|
||||
"object_music",
|
||||
"object_star",
|
||||
"object_house"
|
||||
"object_star"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -48,12 +44,10 @@
|
||||
"onoff_status_offline",
|
||||
"onoff_status_online",
|
||||
"money_dollar",
|
||||
"money_euro",
|
||||
"money_coins",
|
||||
"money_ruby",
|
||||
"time_calendar",
|
||||
"time_clock",
|
||||
"time_hourglass",
|
||||
"sign_warning",
|
||||
"sign_info",
|
||||
"sign_help",
|
||||
|
@ -82,9 +82,17 @@ const Editor = ({
|
||||
const model = new Model(component);
|
||||
|
||||
// Force refresh after map load ...
|
||||
model.loadMindmap(mapInfo.getId(), persistenceManager, widgetManager).then(() => {
|
||||
setCanvasUpdate(Date.now());
|
||||
});
|
||||
model
|
||||
.loadMindmap(mapInfo.getId(), persistenceManager, widgetManager)
|
||||
.then(() => {
|
||||
setCanvasUpdate(Date.now());
|
||||
})
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
window.newrelic?.noticeError(
|
||||
new Error(`Unexpected error loading map ${mapInfo.getId()} = ${JSON.stringify(e)}`),
|
||||
);
|
||||
});
|
||||
setModel(model);
|
||||
}, []);
|
||||
|
||||
|
@ -53,6 +53,9 @@ declare global {
|
||||
['mindplot-component']: MindplotWebComponentInterface;
|
||||
}
|
||||
}
|
||||
interface Window {
|
||||
newrelic: { noticeError: (Error) => void };
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
|
Reference in New Issue
Block a user