From b32c8e2a831882639202356de51af1195c89b569 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 7 Nov 2023 22:18:45 +0100 Subject: [PATCH] :bug: Fix incorrect client features checking on file creation --- common/src/app/common/features.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/features.cljc b/common/src/app/common/features.cljc index b672f463a..cf5d0b897 100644 --- a/common/src/app/common/features.cljc +++ b/common/src/app/common/features.cljc @@ -125,12 +125,13 @@ (defn check-client-features! "Function used for check feature compability between currently enabled - features set on backend with the enabledq featured set by the + features set on backend with the enabled featured set by the frontend client" [enabled-features client-features] (when (set? client-features) (let [not-supported (-> enabled-features (set/difference client-features) + (set/difference frontend-only-features) (set/difference backend-only-features))] (when (seq not-supported) (ex/raise :type :restriction