Skip to content

Commit

Permalink
Logic.setOrRemoveAssignment -> Utils.setOrRemoveAssignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kurahaupo committed Nov 15, 2023
1 parent fb0216f commit 1abc8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,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 = "";
Expand Down Expand Up @@ -1963,7 +1963,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);
});
Expand Down

0 comments on commit 1abc8b8

Please sign in to comment.