fix: ttl in SetTtlDialog error when open without ttl set after opening dialog with ttl set
This commit is contained in:
parent
44f8581a41
commit
025e987290
|
@ -29,13 +29,9 @@ watch(
|
||||||
ttlForm.db = tab.db
|
ttlForm.db = tab.db
|
||||||
ttlForm.key = tab.key
|
ttlForm.key = tab.key
|
||||||
ttlForm.keyCode = tab.keyCode
|
ttlForm.keyCode = tab.keyCode
|
||||||
if (tab.ttl < 0) {
|
|
||||||
// forever
|
|
||||||
} else {
|
|
||||||
ttlForm.ttl = tab.ttl
|
ttlForm.ttl = tab.ttl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue