fixed lint style issue
This commit is contained in:
parent
6be53ecabe
commit
100efce244
1 changed files with 6 additions and 6 deletions
|
@ -1350,7 +1350,7 @@ Logic.registerPanel(P_CONTAINER_DELETE, {
|
||||||
}
|
}
|
||||||
// Populating the panel: name, icon, and warning message
|
// Populating the panel: name, icon, and warning message
|
||||||
// reset the content of confirm page.
|
// reset the content of confirm page.
|
||||||
document.getElementById("delete-container-tab-warning").textContent = ``;
|
document.getElementById("delete-container-tab-warning").textContent = "";
|
||||||
// count number of affected tabs
|
// count number of affected tabs
|
||||||
for (let i = 0; i < currentSelection.length; i++) {
|
for (let i = 0; i < currentSelection.length; i++) {
|
||||||
const identity = currentSelection[i];
|
const identity = currentSelection[i];
|
||||||
|
@ -1362,16 +1362,16 @@ Logic.registerPanel(P_CONTAINER_DELETE, {
|
||||||
if (currentSelection.length === 1 ) {
|
if (currentSelection.length === 1 ) {
|
||||||
document.getElementById("delete-container-name").textContent = currentSelection[0].name;
|
document.getElementById("delete-container-name").textContent = currentSelection[0].name;
|
||||||
// update icon style for single deletion
|
// update icon style for single deletion
|
||||||
icon.style.visibility = 'visible';
|
icon.style.visibility = "visible";
|
||||||
icon.style.marginLeft = `0px`;
|
icon.style.marginLeft = "0px";
|
||||||
icon.setAttribute("data-identity-icon", currentSelection[0].icon);
|
icon.setAttribute("data-identity-icon", currentSelection[0].icon);
|
||||||
icon.setAttribute("data-identity-color", currentSelection[0].color);
|
icon.setAttribute("data-identity-color", currentSelection[0].color);
|
||||||
containerString = "this container";
|
containerString = "this container";
|
||||||
} else {
|
} else {
|
||||||
// update icon for multiple deletion
|
// update icon for multiple deletion
|
||||||
icon.style.visibility = 'hidden';
|
icon.style.visibility = "hidden";
|
||||||
icon.style.marginLeft = `-16px`;
|
icon.style.marginLeft = "-16px";
|
||||||
document.getElementById("delete-container-name").textContent = `Containers`;
|
document.getElementById("delete-container-name").textContent = "Containers";
|
||||||
containerString = "this " + currentSelection.length + " containers";
|
containerString = "this " + currentSelection.length + " containers";
|
||||||
}
|
}
|
||||||
let warningMessage = "";
|
let warningMessage = "";
|
||||||
|
|
Loading…
Add table
Reference in a new issue