Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-core
Commits
ba5a3a1e
Commit
ba5a3a1e
authored
4 years ago
by
Janis Streib
Browse files
Options
Downloads
Patches
Plain Diff
UPD: reload view on ta-submit
parent
5042fe5f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#273734
passed with warnings
4 years ago
Stage: build
Stage: lint
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
frontend/src/App.vue
+1
-1
1 addition, 1 deletion
frontend/src/App.vue
frontend/src/main.js
+4
-0
4 additions, 0 deletions
frontend/src/main.js
frontend/src/views/dnsvs/Main.vue
+1
-1
1 addition, 1 deletion
frontend/src/views/dnsvs/Main.vue
with
6 additions
and
2 deletions
frontend/src/App.vue
+
1
−
1
View file @
ba5a3a1e
...
...
@@ -5,7 +5,7 @@
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<b-breadcrumb
:items=
"breadcrumbs"
/>
<router-view/>
<router-view
v-bind:key=
"$store.state.reload_count"
/>
<Footer/>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/main.js
+
4
−
0
View file @
ba5a3a1e
...
...
@@ -58,6 +58,7 @@ const store = new Vuex.Store({
transaction_result
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'
transaction_result
'
))
||
null
,
executing_transaction
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'
executing_transaction
'
))
||
false
,
show_sidebar
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'
show_sidebar
'
))
||
false
,
reload_count
:
0
},
mutations
:
{
emptyState
(
state
)
{
...
...
@@ -197,6 +198,9 @@ const store = new Vuex.Store({
removeTransactionResult
(
state
)
{
state
.
transaction_result
=
null
window
.
localStorage
.
removeItem
(
'
transaction_result
'
)
},
reloadRouterComp
(
state
)
{
state
.
reload_count
++
}
},
actions
:
{
...
...
This diff is collapsed.
Click to expand it.
frontend/src/views/dnsvs/Main.vue
+
1
−
1
View file @
ba5a3a1e
...
...
@@ -10,4 +10,4 @@
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
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