From 722938835a31cabdb816f55c76231024feeb497a Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Tue, 8 Feb 2022 19:37:51 +0100 Subject: [PATCH] text-editor: do not register for no extension otherwise it also opens folders... --- text-editor/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-editor/src/index.js b/text-editor/src/index.js index 560eaa7..dbe2a82 100644 --- a/text-editor/src/index.js +++ b/text-editor/src/index.js @@ -44,7 +44,7 @@ const appInfo = { ] } -for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml', '']) { +for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml']) { appInfo.extensions.push({ extension: ext, routeName: 'text-editor-editor',