mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 03:53:08 +00:00
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.
This commit is contained in:
parent
1ec67a6605
commit
36cb75ee99
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue