Compare commits

...

1 Commits

Author SHA1 Message Date
262110ad55 doing correct comparison to find page to delete 2021-03-12 15:15:32 -08:00

View File

@ -69,7 +69,7 @@ export default {
methods: {
deletePage(id) {
const selectedSection = this.sections.find(s => s.isSelected);
const page = this.pages.find(p => p.id !== id);
const page = this.pages.find(p => p.id === id);
deleteNotebookEntries(this.openmct, this.domainObject, selectedSection, page);
const selectedPage = this.pages.find(p => p.isSelected);