Fix unsafe property access and stale await in DurationInput, ModalAccountInfo, FilesPage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -368,7 +368,7 @@ function calculateTotalSeconds() {
|
||||
async function createData() {
|
||||
const size = props.size;
|
||||
|
||||
if (maxTotal.value !== (await null) && minTotal.value !== (await null)) {
|
||||
if (maxTotal.value !== null && minTotal.value !== null) {
|
||||
switch (size) {
|
||||
case "max":
|
||||
secondToDate(minTotal.value, "min");
|
||||
|
||||
Reference in New Issue
Block a user