Added publicgallery flight (#1262)

* added publicgallery flag

* fixed PR comments
This commit is contained in:
Srinath Narayanan
2022-05-04 03:50:44 +05:30
committed by GitHub
parent 27423e2321
commit da1169d0e2
7 changed files with 32 additions and 107 deletions

View File

@@ -378,6 +378,9 @@ function updateContextsFromPortalMessage(inputs: DataExplorerInputsFrame) {
if (inputs.flights.indexOf(Flights.NotebooksDownBanner) !== -1) {
userContext.features.notebooksDownBanner = true;
}
if (inputs.flights.indexOf(Flights.PublicGallery) !== -1) {
userContext.features.publicGallery = true;
}
}
}