mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Revert "remove pro logic disabled on global config"
This reverts commit 6d1e243fd3.
This commit is contained in:
parent
43dc47540c
commit
5814f64cca
1 changed files with 7 additions and 0 deletions
|
|
@ -711,6 +711,13 @@ class Multiple {
|
|||
//for already existing global config multiples
|
||||
//global is check
|
||||
setDisabledMultServ(inp, method, global) {
|
||||
// Check if pro
|
||||
const proDisabled = inp
|
||||
.closest("[data-plugin-item]")
|
||||
.hasAttribute("data-pro-disabled")
|
||||
? true
|
||||
: false;
|
||||
if (proDisabled) return inp.setAttribute("disabled", "");
|
||||
if (global) return inp.removeAttribute("disabled");
|
||||
|
||||
if (method === "ui" || method === "default") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue