From 36cb75ee99e147e56a9fe5f6cf22c315dd23fd35 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 21 Apr 2024 14:59:41 +0200 Subject: [PATCH] NetworkForm: disable unsafe return lints for now The NetworkForm type is wrong, hence the compiler can't infer the type. This needs quite some changes, so for now we just turn the linter off for the 2 watch functions. The whole component is too dynamic to fix easily. --- client/components/NetworkForm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/NetworkForm.vue b/client/components/NetworkForm.vue index 93ff3a2f2c..87aca0b047 100644 --- a/client/components/NetworkForm.vue +++ b/client/components/NetworkForm.vue @@ -498,6 +498,7 @@ export default defineComponent({ }; watch( + // eslint-disable-next-line () => props.defaults?.commands, () => { void nextTick(() => { @@ -507,6 +508,7 @@ export default defineComponent({ ); watch( + // eslint-disable-next-line () => props.defaults?.tls, (isSecureChecked) => { const ports = [6667, 6697];