mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 21:28:12 +00:00
doing correct comparison to find page to delete (#3754)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user