Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
7288c280
Commit
7288c280
authored
Oct 02, 2020
by
janis.streib
🦉
Browse files
FIX: no concurrent mangling and persist change
parent
bebd5ec9
Pipeline
#111537
passed with stages
in 8 minutes and 25 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/TransactionList.vue
View file @
7288c280
...
...
@@ -20,7 +20,7 @@
class=
"font-italic text-center mt-3"
>
Keine Aktionen geplant
</div>
<Draggable
v-else
@
change=
"drag_change"
:
list
=
"$store.state.ta_list"
@
start=
"drag=true"
@
end=
"drag=false"
handle=
".handle"
>
<Draggable
v-else
@
change=
"drag_change"
:
value
=
"$store.state.ta_list"
@
start=
"drag=true"
@
end=
"drag=false"
handle=
".handle"
>
<b-card
v-for=
"(element, index) in $store.state.ta_list"
:key=
"element.id"
:border-variant=
"function2variant(element.object_function)"
class=
"mb-3 shadow"
no-body
>
<div
class=
"element-number handle"
...
...
frontend/src/main.js
View file @
7288c280
...
...
@@ -96,6 +96,7 @@ const store = new Vuex.Store({
},
moveTaElements
(
state
,
payload
)
{
state
.
ta_list
.
move
(
payload
.
from
,
payload
.
to
)
window
.
localStorage
.
setItem
(
'
ta_list
'
,
JSON
.
stringify
(
state
.
ta_list
))
},
login
(
state
,
payload
)
{
const
user
=
payload
.
user
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment