From be83b38ec1d66ed212f26aa04dd7121c88d4b22b Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Tue, 10 Dec 2024 12:47:16 +0800 Subject: [PATCH] add refresh trigger to new files --- web-common/src/features/file-explorer/new-files.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web-common/src/features/file-explorer/new-files.ts b/web-common/src/features/file-explorer/new-files.ts index 5b025356a88..44e74cff7a0 100644 --- a/web-common/src/features/file-explorer/new-files.ts +++ b/web-common/src/features/file-explorer/new-files.ts @@ -116,6 +116,11 @@ export const ResourceKindMap: Record< baseName: "alert", extension: ".yaml", }, + [ResourceKind.RefreshTrigger]: { + folderName: "triggers", + baseName: "refresh_trigger", + extension: ".yaml", + }, }; export function getBaseNameForNewResourceFile(