~cypheon/nextcloud-chores-app

7daf95a53ff97f88d3a6b5aaf526e33cb6d2992e — Johann Rudloff 1 year, 6 months ago 8e068c6
Close details sidebar if edited chore ID does not exist
1 files changed, 3 insertions(+), 0 deletions(-)

M src/views/ChoreDetailsSidebar.vue
M src/views/ChoreDetailsSidebar.vue => src/views/ChoreDetailsSidebar.vue +3 -0
@@ 223,6 223,9 @@ export default {
        };
      }
      const chore = this.store.choreById(Number(this.$props.choreId));
      if (chore === undefined) {
        this.closeSideBar();
      }
      return chore || {repeat:'s:1:-', due: new Date(), id:-1};
    },
    due: {