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
ab348fee
Commit
ab348fee
authored
Apr 06, 2022
by
Justin Ho Tuan Duong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update subscriptions_list.vue to use GlTableLite
Add a small margin below success alert.
parent
c00ff2b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
app/assets/javascripts/jira_connect/subscriptions/components/app.vue
...javascripts/jira_connect/subscriptions/components/app.vue
+1
-0
app/assets/javascripts/jira_connect/subscriptions/components/subscriptions_list.vue
...a_connect/subscriptions/components/subscriptions_list.vue
+4
-4
No files found.
app/assets/javascripts/jira_connect/subscriptions/components/app.vue
View file @
ab348fee
...
...
@@ -94,6 +94,7 @@ export default {
v-if=
"shouldShowAlert"
:variant=
"alert.variant"
:title=
"alert.title"
class=
"gl-mb-5"
data-testid=
"jira-connect-persisted-alert"
@
dismiss=
"setAlert"
>
...
...
app/assets/javascripts/jira_connect/subscriptions/components/subscriptions_list.vue
View file @
ab348fee
<
script
>
import
{
GlButton
,
GlTable
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlTable
Lite
}
from
'
@gitlab/ui
'
;
import
{
isEmpty
}
from
'
lodash
'
;
import
{
mapMutations
}
from
'
vuex
'
;
import
{
removeSubscription
}
from
'
~/jira_connect/subscriptions/api
'
;
...
...
@@ -12,7 +12,7 @@ import GroupItemName from './group_item_name.vue';
export
default
{
components
:
{
GlButton
,
GlTable
,
GlTable
Lite
,
GroupItemName
,
TimeagoTooltip
,
},
...
...
@@ -78,7 +78,7 @@ export default {
</
script
>
<
template
>
<gl-table
:items=
"subscriptions"
:fields=
"$options.fields"
>
<gl-table
-lite
:items=
"subscriptions"
:fields=
"$options.fields"
>
<template
#cell(name)=
"
{ item }">
<group-item-name
:group=
"item.group"
/>
</
template
>
...
...
@@ -95,5 +95,5 @@ export default {
>
{{
__
(
'
Unlink
'
)
}}
</gl-button
>
</
template
>
</gl-table>
</gl-table
-lite
>
</template>
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