Fix setting isGalleryPublishEnabled when flight is enabled (#428)

This commit is contained in:
Tanuj Mittal 2021-02-05 20:55:08 +05:30 committed by GitHub
parent 51abf1560a
commit 3e5a876ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1891,7 +1891,7 @@ export default class Explorer {
this.isMongoIndexingEnabled(true); this.isMongoIndexingEnabled(true);
} }
if (flights.indexOf(Constants.Flights.GalleryPublish) !== -1) { if (flights.indexOf(Constants.Flights.GalleryPublish) !== -1) {
this.isGalleryPublishEnabled(true); this.isGalleryPublishEnabled = ko.computed<boolean>(() => true);
} }
} }