add finally block instead of duplication

This commit is contained in:
Martin McKeaveney 2024-09-30 14:48:02 +01:00
parent fc642a259c
commit ce1ca5b89e
2 changed files with 2 additions and 2 deletions

View File

@ -102,9 +102,9 @@
})
cronExpression = response.message
dispatch("change", response.message)
loadingAICronExpression = false
} catch (err) {
notifications.error(err.message)
} finally {
loadingAICronExpression = false
}
}

@ -1 +1 @@
Subproject commit 3fed024cfac9d3286023b1b99a1e2b17f29ebaba
Subproject commit dcc9e50b8064a2097d408771462ad80f48de7ff6