Remove icons.

This commit is contained in:
Paulo Gustavo Veiga
2022-11-19 13:09:29 -08:00
parent 51a5b39129
commit bf04a9d2b8
13 changed files with 26 additions and 180 deletions

View File

@ -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",

View File

@ -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);
}, []);

View File

@ -53,6 +53,9 @@ declare global {
['mindplot-component']: MindplotWebComponentInterface;
}
}
interface Window {
newrelic: { noticeError: (Error) => void };
}
}
export {