Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
b628e91e
Commit
b628e91e
authored
Aug 09, 2019
by
jackie / Andrea Ida Malkah Klaura
Browse files
FIX: rerender discarded slots
parent
ddc8d47a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/EmissionManager.vue
View file @
b628e91e
...
...
@@ -270,12 +270,13 @@ export default {
},
resolveEvent
(
toResolve
,
mode
)
{
this
.
$log
.
debug
(
'
resolveEvent
'
,
toResolve
)
this
.
conflictCount
-=
toResolve
.
collisions
.
length
let
slotIndex
=
this
.
calendarSlots
.
findIndex
(
s
=>
s
.
id
===
toResolve
.
id
)
switch
(
mode
)
{
case
'
theirs
'
:
this
.
conflictSolutions
[
toResolve
.
hash
]
=
'
theirs
'
toResolve
.
className
=
'
discarded
'
this
.
calendarSlots
[
slotIndex
].
className
=
'
ours-discarded
'
this
.
renderView
(
null
)
break
default
:
...
...
@@ -396,8 +397,9 @@ a.currentShow {
.noconflict
{
background-color
:
#17a2b8
;
}
.discarded
{
background-color
:
#eee
;
text-decoration
:
line-through
;
.ours-discarded
{
background-color
:
#b00
;
opacity
:
0.5
;
text-decoration
:
line-through
!important
;
}
</
style
>
Write
Preview
Supports
Markdown
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