fix: don't show deprecated editors; add missing solarized dark theme

This commit is contained in:
Mo
2022-06-27 17:43:17 -05:00
parent 0290dcfd46
commit ded2d1866a
3 changed files with 9 additions and 1 deletions

View File

@@ -54,7 +54,9 @@ export const createEditorMenuGroups = (application: WebApplication, editors: SNC
.forEach((editorFeature) => {
const notInstalled = !editors.find((editor) => editor.identifier === editorFeature.identifier)
const isExperimental = application.features.isExperimentalFeature(editorFeature.identifier)
if (notInstalled && !isExperimental) {
const isDeprecated = editorFeature.deprecated
const isShowable = notInstalled && !isExperimental && !isDeprecated
if (isShowable) {
editorItems[getEditorGroup(editorFeature)].push({
name: editorFeature.name as string,
isEntitled: false,