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 25, 2021
1 parent 095d403 commit 602ae40
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 @@ -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 = "";
Expand Down Expand Up @@ -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);
});
Expand Down

0 comments on commit 602ae40

Please sign in to comment.