From 34c4bfc08aca32877f2a4ad0d2dedc444208401f Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 22 Dec 2020 13:37:49 +0100 Subject: [PATCH] Removed the "global" replacement instead using an empty string --- shared/js/file/LocalIcons.ts | 2 +- shared/js/file/RemoteIcons.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/js/file/LocalIcons.ts b/shared/js/file/LocalIcons.ts index 562dc0f9..514b1b80 100644 --- a/shared/js/file/LocalIcons.ts +++ b/shared/js/file/LocalIcons.ts @@ -150,7 +150,7 @@ class IconManager extends AbstractIconManager { } resolveIcon(iconId: number, serverUniqueId: string, handlerIdHint: string): RemoteIcon { - serverUniqueId = serverUniqueId || "global"; + serverUniqueId = serverUniqueId || ""; /* just to ensure */ iconId = iconId >>> 0; diff --git a/shared/js/file/RemoteIcons.ts b/shared/js/file/RemoteIcons.ts index 3d86375e..3550b10b 100644 --- a/shared/js/file/RemoteIcons.ts +++ b/shared/js/file/RemoteIcons.ts @@ -54,7 +54,7 @@ class RemoteIconManager extends AbstractIconManager { } resolveIcon(iconId: number, serverUniqueId?: string, handlerId?: string): RemoteIcon { - serverUniqueId = serverUniqueId || "global"; + serverUniqueId = serverUniqueId || ""; iconId = iconId >>> 0;