From 88c452877673aa9bde774ee05f6647909b6af30d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 5 Aug 2022 14:31:58 -0400 Subject: [PATCH] Afform - Fix js error when checking to refresh menuBar --- ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js index a1bdb7a7aa..c609dc52b8 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js @@ -580,7 +580,7 @@ snapshot.afform.name = data[0].name; }); if (!angular.equals(afform.navigation, lastSaved.navigation) || - (afform.server_route !== lastSaved.server_route && afform.navigation) + (afform.server_route !== lastSaved.server_route && afform.navigation) || (afform.icon !== lastSaved.icon && afform.navigation) ) { refreshMenubar(); -- 2.25.1