ImagesTables: only show provisioning link in beta
This commit is contained in:
parent
4ecaeca3c7
commit
026f2fbad4
2 changed files with 5 additions and 1 deletions
|
|
@ -91,6 +91,7 @@
|
|||
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
|
||||
"prod-beta": "BETA=true PROXY=true webpack serve --config config/dev.webpack.config.js",
|
||||
"prod-stable": "PROXY=true webpack serve --config config/dev.webpack.config.js",
|
||||
"stage-stable": "STAGE=true npm run prod-stable",
|
||||
"stage-beta": "STAGE=true npm run prod-beta",
|
||||
"test": "TZ=UTC jest --verbose --no-cache",
|
||||
"test:single": "jest --verbose -w 1",
|
||||
|
|
|
|||
|
|
@ -64,7 +64,10 @@ const ImageLink = ({ imageId, isExpired, isInClonesTable }) => {
|
|||
const uploadStatus = image.uploadStatus;
|
||||
|
||||
const scalprum = useScalprum();
|
||||
const hasProvisioning = scalprum.initialized && scalprum.config?.provisioning;
|
||||
const hasProvisioning =
|
||||
scalprum.initialized &&
|
||||
scalprum.config?.provisioning &&
|
||||
insights?.chrome.isBeta();
|
||||
|
||||
if (!uploadStatus) return null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue