-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed Config-Helper from Resource (#1889)
* removed config helper in resource * fixed session assignment
- Loading branch information
1 parent
8b33d42
commit e68bae4
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
import { BreadcrumbIF } from '@bcrs-shared-components/interfaces' | ||
import ConfigHelper from '@/util/config-helper' | ||
|
||
export const RegistryHomeBreadcrumb: BreadcrumbIF = { | ||
text: 'BC Registries and Online Services', | ||
href: `${ConfigHelper.getValue('REGISTRY_HOME_URL')}` | ||
href: `${sessionStorage.getItem('REGISTRY_HOME_URL')}` | ||
} | ||
|
||
export const RegistryDashboardBreadcrumb: BreadcrumbIF = { | ||
text: 'BC Registries Dashboard', | ||
href: `${ConfigHelper.getValue('REGISTRY_HOME_URL')}dashboard` | ||
href: `${sessionStorage.getItem('REGISTRY_HOME_URL')}dashboard` | ||
} | ||
|
||
export const MyBusinessRegistryBreadcrumb: BreadcrumbIF = { | ||
text: 'My Business Registry', | ||
to: { name: 'business' }, | ||
href: `${ConfigHelper.getValue('AUTH_WEB_URL')}/business` | ||
href: `${sessionStorage.getItem('AUTH_WEB_URL')}/business` | ||
} | ||
|
||
export const StaffDashboardBreadcrumb: BreadcrumbIF = { | ||
text: 'Staff Dashboard', | ||
href: `${ConfigHelper.getValue('AUTH_WEB_URL')}/staff/dashboard/active` | ||
href: `${sessionStorage.getItem('AUTH_WEB_URL')}/staff/dashboard/active` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters