From 5cc678ddc3da054cbf57bd1b8d9156efdfa7dd2d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 20 Nov 2024 15:30:23 +0100 Subject: [PATCH] :sparkles: Remove not necessary check on upgrade-version notification --- frontend/src/app/main/data/common.cljs | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/main/data/common.cljs b/frontend/src/app/main/data/common.cljs index 576e6c656..ac83b6bea 100644 --- a/frontend/src/app/main/data/common.cljs +++ b/frontend/src/app/main/data/common.cljs @@ -12,7 +12,6 @@ [app.common.schema :as sm] [app.common.types.components-list :as ctkl] [app.common.types.team :as ctt] - [app.config :as cf] [app.main.data.modal :as modal] [app.main.data.notifications :as ntf] [app.main.features :as features] @@ -75,15 +74,13 @@ (watch [_ _ _] (case code :upgrade-version - (when (or (not= (:version params) (:full cf/version)) - (true? (:force params))) - (rx/of (ntf/dialog - :content (tr "notifications.by-code.upgrade-version") - :controls :inline-actions - :type :inline - :level level - :actions [{:label "Refresh" :callback force-reload!}] - :tag :notification))) + (rx/of (ntf/dialog + :content (tr "notifications.by-code.upgrade-version") + :controls :inline-actions + :type :inline + :level level + :actions [{:label "Refresh" :callback force-reload!}] + :tag :notification)) :maintenance (rx/of (ntf/dialog