mirror of
https://github.com/nasa/openmct.git
synced 2025-02-16 07:30:51 +00:00
stopping point
This commit is contained in:
parent
fffa773cdf
commit
310bd17800
@ -58,7 +58,7 @@ const viewsTabsMatrix = {
|
||||
Browse: ['Properties', 'Annotations']
|
||||
},
|
||||
'Flexible Layout': {
|
||||
Browse: ['Properties', 'Elements'],
|
||||
Browse: ['Properties', 'Elements', 'Styles'],
|
||||
Edit: ['Elements', 'Styles', 'Properties']
|
||||
},
|
||||
Folder: {
|
||||
|
@ -31,8 +31,9 @@ export default function ElementsViewProvider(openmct) {
|
||||
canView: function (selection) {
|
||||
const hasValidSelection = selection?.length;
|
||||
const isOverlayPlot = selection?.[0]?.[0]?.context?.item?.type === 'telemetry.plot.overlay';
|
||||
const isFolder = selection?.[0]?.[0]?.context?.item?.type === 'folder';
|
||||
|
||||
return hasValidSelection && !isOverlayPlot;
|
||||
return hasValidSelection && !isOverlayPlot && !isFolder;
|
||||
},
|
||||
view: function (selection) {
|
||||
let _destroy = null;
|
||||
|
@ -26,12 +26,16 @@ import StylesInspectorView from './StylesInspectorView.vue';
|
||||
import stylesManager from './StylesManager.js';
|
||||
|
||||
const NON_STYLABLE_TYPES = [
|
||||
'folder',
|
||||
'webPage',
|
||||
'clock',
|
||||
'conditionSet',
|
||||
'summary-widget',
|
||||
'eventGenerator',
|
||||
'eventGeneratorWithAcknowledge',
|
||||
'example.imagery',
|
||||
'folder',
|
||||
'gantt-chart',
|
||||
'hyperlink',
|
||||
'clock'
|
||||
'summary-widget',
|
||||
'webPage'
|
||||
];
|
||||
|
||||
function isLayoutObject(selection, objectType) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user