Skip to content

Commit

Permalink
Reload the section on error as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Dec 10, 2024
1 parent 9554944 commit b2ff6f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions panel/src/components/Sections/ModelsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,10 @@ export default {
ids: this.selected.map((item) => item.id)
}
);
this.reload();
} catch (error) {
this.$panel.notification.error(error);
} finally {
this.reload();
this.isSelecting = false;
this.isProcessing = false;
this.selected = [];
Expand Down

0 comments on commit b2ff6f7

Please sign in to comment.