Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUB Terra
SMS
Frontend
Commits
bf4e17f2
Verified
Commit
bf4e17f2
authored
3 years ago
by
Marc Hanisch
Browse files
Options
Downloads
Patches
Plain Diff
uses .replace to redirect to /basic pages
parent
b98ba69b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!175
Improve links to basic pages
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pages/configurations/_id.vue
+1
-1
1 addition, 1 deletion
pages/configurations/_id.vue
pages/devices/_deviceId.vue
+1
-1
1 addition, 1 deletion
pages/devices/_deviceId.vue
pages/platforms/_platformId.vue
+1
-1
1 addition, 1 deletion
pages/platforms/_platformId.vue
with
3 additions
and
3 deletions
pages/configurations/_id.vue
+
1
−
1
View file @
bf4e17f2
...
...
@@ -64,7 +64,7 @@ export default class ConfigurationsIdPage extends Vue {
created
()
{
if
(
this
.
isBasePath
())
{
this
.
$router
.
push
(
'
/configurations/
'
+
this
.
configurationId
+
'
/basic
'
)
this
.
$router
.
replace
(
'
/configurations/
'
+
this
.
configurationId
+
'
/basic
'
)
}
}
...
...
This diff is collapsed.
Click to expand it.
pages/devices/_deviceId.vue
+
1
−
1
View file @
bf4e17f2
...
...
@@ -59,7 +59,7 @@ export default class DevicePage extends Vue {
created
()
{
if
(
this
.
isBasePath
())
{
this
.
$router
.
push
(
'
/devices/
'
+
this
.
deviceId
+
'
/basic
'
)
this
.
$router
.
replace
(
'
/devices/
'
+
this
.
deviceId
+
'
/basic
'
)
}
}
...
...
This diff is collapsed.
Click to expand it.
pages/platforms/_platformId.vue
+
1
−
1
View file @
bf4e17f2
...
...
@@ -57,7 +57,7 @@ export default class PlatformPage extends Vue {
created
()
{
if
(
this
.
isBasePath
())
{
this
.
$router
.
push
(
'
/platforms/
'
+
this
.
platformId
+
'
/basic
'
)
this
.
$router
.
replace
(
'
/platforms/
'
+
this
.
platformId
+
'
/basic
'
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment