3
0

Fix inital page icon state from triggering unsaved changes alert

This commit is contained in:
Kelani Tolulope
2023-11-06 14:46:13 +01:00
parent 20b8326b9d
commit cbcb27d188
@@ -1365,6 +1365,7 @@ export default {
if (attachments.length === 0) {
this.icon = {}
this.initialPageState.config.navItem.icon = {}
} else {
attachments.forEach(a => {
const src = !a.url.includes(baseURL) ? this.makeAttachmentUrl(a.url) : a.url