From fc813089bb22a44ae9e2a29dce1e648d21c8c593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Paunovi=C4=87?= Date: Mon, 5 Aug 2024 15:41:05 +0200 Subject: [PATCH] chore(ui): hide delete button from logs listing page (#4563) --- ui/src/components/logs/LogsWrapper.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/components/logs/LogsWrapper.vue b/ui/src/components/logs/LogsWrapper.vue index ddadc03a28..bb03eb72ad 100644 --- a/ui/src/components/logs/LogsWrapper.vue +++ b/ui/src/components/logs/LogsWrapper.vue @@ -56,7 +56,7 @@ - + {{ $t("delete logs") }} @@ -153,6 +153,9 @@ isFlowEdit() { return this.$route.name === "flows/update" }, + isLogsListing() { + return this.$route.name === "logs/list" + }, isNamespaceEdit() { return this.$route.name === "namespaces/update" },