Skip to content

Commit 1fdc7d7

Browse files
authored
removing environment path mapping and just navigate users to domain search screen on environment change (#425)
1 parent 733078b commit 1fdc7d7

File tree

4 files changed

+1
-70
lines changed

4 files changed

+1
-70
lines changed

client/App.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import {
5454
import {
5555
getEnvironment,
5656
getEnvironmentList,
57-
getEnvironmentLocation,
5857
getLatestNewsItems,
5958
parseStringToBoolean,
6059
workflowHistoryEventHighlightListAddOrUpdate,
@@ -175,13 +174,7 @@ export default {
175174
return;
176175
}
177176
178-
const { pathname, search } = window.location;
179-
180-
window.location = getEnvironmentLocation({
181-
environment,
182-
pathname,
183-
search,
184-
});
177+
window.location = environment.value;
185178
},
186179
onNewsDismiss() {
187180
localStorage.setItem(

client/helpers/get-environment-location.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

client/helpers/get-environment-location.spec.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

client/helpers/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export { default as getDatetimeFormattedString } from './get-datetime-formatted-
2525
export { default as getEndTimeIsoString } from './get-end-time-iso-string';
2626
export { default as getEnvironment } from './get-environment';
2727
export { default as getEnvironmentList } from './get-environment-list';
28-
export { default as getEnvironmentLocation } from './get-environment-location';
2928
export { default as getErrorMessage } from './get-error-message';
3029
export { default as getExpiryDateTimeFromNow } from './get-expiry-date-time-from-now';
3130
export { default as getJsonStringObject } from './get-json-string-object';

0 commit comments

Comments
 (0)