mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 03:55:31 +00:00
doing correct comparison to find page to delete (#3754)
This commit is contained in:
parent
325f2c4860
commit
b042d9098d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user