From d9d08841e938dbf1a239429a8a9a0b182f115f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Thu, 22 Jul 2021 12:41:02 +0200 Subject: [PATCH] simplify check --- .../builder/src/pages/builder/app/[application]/_layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/app/[application]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/_layout.svelte index 1d0b4e8583..7b0d09844f 100644 --- a/packages/builder/src/pages/builder/app/[application]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_layout.svelte @@ -23,7 +23,7 @@ let userShouldPostFeedback = false function previewApp() { - if (!$auth?.user?.flags?.feedbackSubmitted === true) { + if (!$auth?.user?.flags?.feedbackSubmitted) { userShouldPostFeedback = true } window.open(`/${application}`)