Skip to content

Commit

Permalink
NetworkForm: disable unsafe return lints for now
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brunnre8 committed Apr 21, 2024
1 parent 1ec67a6 commit 36cb75e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/components/NetworkForm.vue
Expand Up @@ -498,6 +498,7 @@ export default defineComponent({
};
watch(
// eslint-disable-next-line
() => props.defaults?.commands,
() => {
void nextTick(() => {
Expand All @@ -507,6 +508,7 @@ export default defineComponent({
);
watch(
// eslint-disable-next-line
() => props.defaults?.tls,
(isSecureChecked) => {
const ports = [6667, 6697];
Expand Down

0 comments on commit 36cb75e

Please sign in to comment.