diff --git a/src/ui/client/builder/test_bans.py b/src/ui/client/builder/test_bans.py index 14676aa4e..ffe1a2c66 100644 --- a/src/ui/client/builder/test_bans.py +++ b/src/ui/client/builder/test_bans.py @@ -25,8 +25,8 @@ bans = [ }, ] -reasons = ["all", "antibot", "test"] -remains = ["all", "hour(s)", "day(s)"] +reasons = ["antibot", "test"] +remains = ["hour(s)", "day(s)"] builder = bans_builder(bans, reasons, remains) diff --git a/src/ui/client/dashboard/components/Widget/Button.vue b/src/ui/client/dashboard/components/Widget/Button.vue index 24ada63a5..deb08a7ab 100644 --- a/src/ui/client/dashboard/components/Widget/Button.vue +++ b/src/ui/client/dashboard/components/Widget/Button.vue @@ -201,6 +201,8 @@ onBeforeMount(() => { }); onMounted(() => { + checkDisplay(); + // Case modal, add accessibility data if (typeof props.modal === "object") { btnEl.value.setAttribute("aria-controls", btn.modalId); diff --git a/src/ui/client/dashboard/components/Widget/Tabulator.vue b/src/ui/client/dashboard/components/Widget/Tabulator.vue index 5292fd1ac..c3582f535 100644 --- a/src/ui/client/dashboard/components/Widget/Tabulator.vue +++ b/src/ui/client/dashboard/components/Widget/Tabulator.vue @@ -136,7 +136,6 @@ const props = defineProps({ const tableEl = ref(null); //reference to your table element const table = reactive({ - test: true, instance: null, filters: {}, columns: props.columns, @@ -256,11 +255,6 @@ onMounted(() => { }, 100); }); }); - -onUnmounted(() => { - table.instance.destroy(); - table.instance = null; -});