Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Applications
Systems Frontend
Commits
f14c587c
Commit
f14c587c
authored
Mar 30, 2020
by
anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix swimlane settings persistence for laneMode and groupBy
parent
8046fe1a
Pipeline
#51581
passed with stage
in 2 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/store/modules/swim-lane.js
src/store/modules/swim-lane.js
+2
-2
No files found.
src/store/modules/swim-lane.js
View file @
f14c587c
...
...
@@ -72,11 +72,11 @@ const swimLane = {
},
setType
(
state
,
type
)
{
state
.
groupAnnotationsBy
=
type
localStorage
.
setItem
(
'
mb_sl_groupAnnotationsBy
'
,
JSON
.
stringify
(
state
.
groupAnnotationsBy
)
)
localStorage
.
setItem
(
'
mb_sl_groupAnnotationsBy
'
,
state
.
groupAnnotationsBy
)
},
setLaneMode
(
state
,
mode
)
{
state
.
laneMode
=
mode
localStorage
.
setItem
(
'
mb_sl_laneMode
'
,
JSON
.
stringify
(
state
.
laneMode
)
)
localStorage
.
setItem
(
'
mb_sl_laneMode
'
,
state
.
laneMode
)
},
setTimecode
(
state
,
v
)
{
state
.
timecode
=
v
...
...
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