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

View File

@@ -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<boolean>(() => true);
}
}