Skip to content

Commit

Permalink
Bumped up version numbers in package.json and package-lock.json for t…
Browse files Browse the repository at this point in the history
…he updated Header component. (#358)

* Made it so DEV or DEVELOPMENT (case does not matter) for passing in environment

* Bumped up version numbers in package.json and package-lock.json
  • Loading branch information
EPortman authored May 27, 2024
1 parent de5f7d8 commit 9498611
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vue/sbc-common-components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vue/sbc-common-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sbc-common-components",
"version": "3.0.12",
"version": "3.0.13",
"private": false,
"description": "Common Vue Components to be used across BC Registries and Online Services.",
"license": "Apache-2.0",
Expand Down
3 changes: 2 additions & 1 deletion vue/sbc-common-components/src/components/SbcHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,9 @@ export default class SbcHeader extends Mixins(NavigationMixin) {
@Watch
get alertColor(): string {
switch (this.environment) {
switch (this.environment.toUpperCase()) {
case 'DEV':
case 'DEVELOPMENT':
return 'success';
case 'TEST':
return 'error';
Expand Down

0 comments on commit 9498611

Please sign in to comment.