Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3f5e3233
Commit
3f5e3233
authored
Jan 11, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve lock_issue_sidebar
parent
3208a8c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
...avascripts/sidebar/components/lock/lock_issue_sidebar.vue
+0
-31
No files found.
app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
View file @
3f5e3233
<
script
>
<<<<<<<
HEAD
import
Flash
from
'
~/flash
'
;
=======
import
Flash
from
'
../../../flash
'
;
>>>>>>>
upstream
/
master
import
editForm
from
'
./edit_form.vue
'
;
import
issuableMixin
from
'
../../../vue_shared/mixins/issuable
'
;
import
Icon
from
'
../../../vue_shared/components/icon.vue
'
;
...
...
@@ -16,10 +12,6 @@
mixins
:
[
issuableMixin
,
],
<<<<<<<
HEAD
=======
>>>>>>>
upstream
/
master
props
:
{
isLocked
:
{
required
:
true
,
...
...
@@ -44,23 +36,6 @@
return
this
.
isLocked
?
'
lock
'
:
'
lock-open
'
;
},
<<<<<<<
HEAD
isLockDialogOpen
()
{
return
this
.
mediator
.
store
.
isLockDialogOpen
;
},
},
methods
:
{
toggleForm
()
{
this
.
mediator
.
store
.
isLockDialogOpen
=
!
this
.
mediator
.
store
.
isLockDialogOpen
;
},
=======
computed
:
{
lockIcon
()
{
return
this
.
isLocked
?
'
lock
'
:
'
lock-open
'
;
},
isLockDialogOpen
()
{
return
this
.
mediator
.
store
.
isLockDialogOpen
;
},
...
...
@@ -71,18 +46,12 @@
this
.
mediator
.
store
.
isLockDialogOpen
=
!
this
.
mediator
.
store
.
isLockDialogOpen
;
},
>>>>>>>
upstream
/
master
updateLockedAttribute
(
locked
)
{
this
.
mediator
.
service
.
update
(
this
.
issuableType
,
{
discussion_locked
:
locked
,
})
.
then
(()
=>
location
.
reload
())
<<<<<<<
HEAD
.
catch
(()
=>
Flash
(
this
.
__
(
`Something went wrong trying to change the locked state of this
${
this
.
issuableDisplayName
}
`
)));
=======
.
catch
(()
=>
Flash
(
this
.
__
(
`Something went wrong trying to
change the locked state of this
${
this
.
issuableDisplayName
}
`
)));
>>>>>>>
upstream
/
master
},
},
};
...
...
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