Fix setting isGalleryPublishEnabled when flight is enabled (#428)
This commit is contained in:
parent
51abf1560a
commit
3e5a876ef2
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue