diff --git a/src/Common/Constants.ts b/src/Common/Constants.ts index 9f7214d76..f6531a204 100644 --- a/src/Common/Constants.ts +++ b/src/Common/Constants.ts @@ -128,6 +128,7 @@ export class Flights { public static readonly MongoIndexEditor = "mongoindexeditor"; public static readonly MongoIndexing = "mongoindexing"; public static readonly AutoscaleTest = "autoscaletest"; + public static readonly GalleryPublish = "gallerypublish"; } export class AfecFeatures { diff --git a/src/Explorer/Explorer.ts b/src/Explorer/Explorer.ts index 0ff71ab24..a902238da 100644 --- a/src/Explorer/Explorer.ts +++ b/src/Explorer/Explorer.ts @@ -1890,6 +1890,9 @@ export default class Explorer { if (flights.indexOf(Constants.Flights.MongoIndexing) !== -1) { this.isMongoIndexingEnabled(true); } + if (flights.indexOf(Constants.Flights.GalleryPublish) !== -1) { + this.isGalleryPublishEnabled(true); + } } public findSelectedCollection(): ViewModels.Collection {