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
2473927a
Commit
2473927a
authored
Jul 23, 2020
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update slot-scope syntax for project_rules
parent
7a5db690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
ee/app/assets/javascripts/approvals/components/project_settings/project_rules.vue
...s/approvals/components/project_settings/project_rules.vue
+3
-5
No files found.
ee/app/assets/javascripts/approvals/components/project_settings/project_rules.vue
View file @
2473927a
...
...
@@ -93,7 +93,7 @@ export default {
<
template
>
<rules
:rules=
"rules"
>
<template
slot=
"thead"
slot-scope
=
"
{ name, members, approvalsRequired, branches }">
<template
#thead
="
{ name, members, approvalsRequired, branches }">
<tr
class=
"d-none d-sm-table-row"
>
<th
class=
"w-25"
>
{{
hasNamedRule
?
name
:
members
}}
</th>
<th
:class=
"settings.allowMultiRule ? 'w-50 d-none d-sm-table-cell' : 'w-75'"
>
...
...
@@ -104,7 +104,7 @@ export default {
<th></th>
</tr>
</
template
>
<
template
slot=
"tbody"
slot-scope
=
"{ rules }"
>
<
template
#tbody
=
"{ rules }"
>
<template
v-for=
"(rule, index) in rules"
>
<empty-rule
v-if=
"rule.ruleType === 'any_approver'"
...
...
@@ -116,9 +116,7 @@ export default {
:can-edit=
"canEdit(rule)"
/>
<tr
v-else
:key=
"index"
>
<td
class=
"js-name"
>
{{
rule
.
name
}}
</td>
<td
class=
"js-name"
>
{{
rule
.
name
}}
</td>
<td
class=
"js-members"
:class=
"settings.allowMultiRule ? 'd-none d-sm-table-cell' : null"
>
<user-avatar-list
:items=
"rule.approvers"
:img-size=
"24"
empty-text=
""
/>
</td>
...
...
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