Skip to content

Commit

Permalink
fix: Reset path when draft found to avoid issue with form changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TatuJLund committed Dec 26, 2024
1 parent 4833c56 commit e782914
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ protected void showAppLayout() {
// Handle draft product found in the database and ask user what to do with
// it.
private void handleDraft(Product draft) {
getNavigator().navigateTo(AboutView.VIEW_NAME);
logger.info("Draft found");
var dialog = new ConfirmDialog(getTranslation(I18n.CONFIRM),
getTranslation(I18n.DRAFT_FOUND), ConfirmDialog.Type.ALERT);
Expand Down

0 comments on commit e782914

Please sign in to comment.