From 2d46971199eecb49b96d5031bdbad25e448d0b27 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 27 Jan 2021 15:56:31 +0100 Subject: Hide new template directory entry after creating and allow setting existing directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/src/templates.js | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files/src') diff --git a/apps/files/src/templates.js b/apps/files/src/templates.js index c493e254caf..be41e864854 100644 --- a/apps/files/src/templates.js +++ b/apps/files/src/templates.js @@ -82,6 +82,7 @@ window.addEventListener('DOMContentLoaded', function() { fileType: 'file', actionHandler(name) { initTemplatesFolder(name) + menu.removeMenuEntry('template-init') }, }) }, -- cgit v1.2.3