From 602ae4054bf24817c6b944f3a3e8172db50c5c90 Mon Sep 17 00:00:00 2001 From: Martin D Kealey Date: Thu, 25 Nov 2021 17:50:07 +1100 Subject: [PATCH] Logic.setOrRemoveAssignment -> Utils.setOrRemoveAssignment --- src/js/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/popup.js b/src/js/popup.js index 6bb1838c5..ed6ba02f5 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -1376,7 +1376,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, { if (baseURL !== null) { // Assign URL to container - await Logic.setOrRemoveAssignment(tabId, baseURL, userContextId, false); + await Utils.setOrRemoveAssignment(tabId, baseURL, userContextId, false); // Clear form document.querySelector("#edit-container-panel-site-input").value = ""; @@ -1462,7 +1462,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, { // Lets show the message to the current tab // TODO remove then when firefox supports arrow fn async const currentTab = await Logic.currentTab(); - Logic.setOrRemoveAssignment(currentTab.id, assumedUrl, userContextId, true); + Utils.setOrRemoveAssignment(currentTab.id, assumedUrl, userContextId, true); delete assignments[siteKey]; that.showAssignedContainers(assignments); });