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
83fdaaef
Commit
83fdaaef
authored
Aug 21, 2020
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set is-todo prop for design todo-button
parent
24c8e6bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/design_management/components/design_sidebar.vue
...vascripts/design_management/components/design_sidebar.vue
+4
-1
No files found.
app/assets/javascripts/design_management/components/design_sidebar.vue
View file @
83fdaaef
...
...
@@ -61,6 +61,9 @@ export default {
resolvedCommentsToggleIcon
()
{
return
this
.
resolvedDiscussionsExpanded
?
'
chevron-down
'
:
'
chevron-right
'
;
},
hasPendingTodo
()
{
return
Boolean
(
this
.
design
.
pendingTodo
);
},
},
watch
:
{
isResolvedCommentsPopoverHidden
(
newVal
)
{
...
...
@@ -108,7 +111,7 @@ export default {
class=
"gl-display-flex gl-justify-content-space-between gl-border-b-1 gl-border-b-gray-100"
>
<span>
{{
__
(
'
To-Do
'
)
}}
</span>
<todo-button
issuable-type=
"design"
:issuable-id=
"design.iid"
/>
<todo-button
issuable-type=
"design"
:issuable-id=
"design.iid"
:is-todo=
"hasPendingTodo"
/>
</div>
<h2
class=
"gl-font-weight-bold gl-mt-0"
>
{{
issue
.
title
}}
...
...
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