Skip to content

Commit

Permalink
console error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Nov 1, 2024
1 parent 626205a commit eb5fb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebars/dashboard/DashboardSideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default {
publicationStore.refreshPublicationList()
// Wait for the user to read the feedback then close the model
setTimeout(this.cleanup, 2000)
if (!files.value && files.value.length === 0) {
if (!files.value && files.value?.length === 0) {
setTimeout(this.success = null, 2000)
}
})
Expand Down

0 comments on commit eb5fb4a

Please sign in to comment.