fix(#6413): Inspector View tab priority (#6414)

* fix: inspector view tab priority

- fixes issue where inspector view priorities were not being passed to the view registry

* chore: run lint:fix

- eslint sez no danglin' commas! EVER!

* fix: update more viewProviders

---------

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
Jesse Mazzella
2023-03-15 14:47:40 -07:00
committed by GitHub
parent 006fa0bcc7
commit 22cc28d733
17 changed files with 53 additions and 52 deletions

View File

@ -56,6 +56,10 @@ class AlphanumericFormatView {
return this.component.$refs.alphanumericFormat.getViewContext();
}
priority() {
return 1;
}
destroy() {
this.component.$destroy();
this.component = undefined;
@ -89,9 +93,6 @@ export default function AlphanumericFormatViewProvider(openmct, options) {
},
view: function (domainObject, objectPath) {
return new AlphanumericFormatView(openmct, domainObject, objectPath);
},
priority: function () {
return 1;
}
};
}