From 3e5a876ef246cc78854194ccf5c73bab239a4db8 Mon Sep 17 00:00:00 2001 From: Tanuj Mittal Date: Fri, 5 Feb 2021 20:55:08 +0530 Subject: [PATCH] Fix setting isGalleryPublishEnabled when flight is enabled (#428) --- src/Explorer/Explorer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Explorer.ts b/src/Explorer/Explorer.ts index 2fe6f4d97..37987781c 100644 --- a/src/Explorer/Explorer.ts +++ b/src/Explorer/Explorer.ts @@ -1891,7 +1891,7 @@ export default class Explorer { this.isMongoIndexingEnabled(true); } if (flights.indexOf(Constants.Flights.GalleryPublish) !== -1) { - this.isGalleryPublishEnabled(true); + this.isGalleryPublishEnabled = ko.computed(() => true); } }