Skip to content

Commit

Permalink
UBER-872: Add some checks
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Karmatskikh <[email protected]>
  • Loading branch information
mixerka committed Sep 15, 2023
1 parent 3f9e651 commit da58261
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
let description: string
let haveUnsavedChanges = false
$: if (description === undefined) {
$: if (object && description === undefined) {
description = getAttribute(client, object, key)
}
Expand Down Expand Up @@ -69,6 +69,8 @@
setTimeout(() => {
dispatch('saved', false)
}, 2500)
} else {
haveUnsavedChanges = false
}
await descriptionBox.createAttachments()
Expand Down

0 comments on commit da58261

Please sign in to comment.