Merged in chore/fix-semver (pull request #3393)
Chore/fix semver * fix semver versioning * fix semver versioning * Merge branch 'chore/fix-semver' of bitbucket.org:scandic-swap/web into chore/fix-semver * Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/fix-semver * reset to master Approved-by: Linus Flood
This commit is contained in:
@@ -27,12 +27,12 @@ export function EnvironmentWatermark() {
|
||||
}
|
||||
|
||||
const { environment, name } = getEnvironmentName()
|
||||
const displayValues = [name]
|
||||
if (name !== environment) {
|
||||
displayValues.push(`(${environment})`)
|
||||
}
|
||||
const displayValues: string[] = [environment]
|
||||
|
||||
if (env.NEXT_PUBLIC_RELEASE_TAG) {
|
||||
displayValues.push(`[${env.NEXT_PUBLIC_RELEASE_TAG}]`)
|
||||
} else if (name !== environment) {
|
||||
displayValues.push(`(${name})`)
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user