diff --git a/src/plugins/notebook/components/PageCollection.vue b/src/plugins/notebook/components/PageCollection.vue index f0ce443804..2734d20db1 100644 --- a/src/plugins/notebook/components/PageCollection.vue +++ b/src/plugins/notebook/components/PageCollection.vue @@ -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);