mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
feat: Reset filter settings when editing or creating a service so it doesn't show the edit form when deleting a service on the services page of the web UI
This commit is contained in:
parent
8494c639d8
commit
dd1d6d44ae
1 changed files with 1 additions and 1 deletions
|
|
@ -235,8 +235,8 @@ class ServiceModal {
|
|||
this.setCardViewportHeight(action === "delete" ? false : true);
|
||||
this.setHeaderActionsVisible(action === "delete" ? false : true);
|
||||
this.SetSelectTabsVisible(action === "delete" ? false : true);
|
||||
this.resetFilterSettings();
|
||||
if (action === "edit" || action === "new" || action === "clone") {
|
||||
this.resetFilterSettings();
|
||||
this.formNewEdit.classList.remove("hidden");
|
||||
|
||||
const oldNameValue = action === "edit" ? oldServName : "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue