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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
0815236f
Commit
0815236f
authored
Jan 12, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change loading prop behavior for subscriptions.vue
parent
562991b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/sidebar/components/subscriptions/sidebar_subscriptions.vue
...idebar/components/subscriptions/sidebar_subscriptions.vue
+1
-1
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
...cripts/sidebar/components/subscriptions/subscriptions.vue
+1
-1
No files found.
app/assets/javascripts/sidebar/components/subscriptions/sidebar_subscriptions.vue
View file @
0815236f
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
<
template
>
<
template
>
<div
class=
"block subscriptions"
>
<div
class=
"block subscriptions"
>
<subscriptions
<subscriptions
:loading=
"store.
subscribed === null
"
:loading=
"store.
isFetching.subscriptions
"
:subscribed=
"store.subscribed"
:subscribed=
"store.subscribed"
/>
/>
</div>
</div>
...
...
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
View file @
0815236f
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
},
},
computed
:
{
computed
:
{
showLoadingState
()
{
showLoadingState
()
{
return
this
.
subscribed
===
null
||
this
.
loading
;
return
this
.
subscribed
===
null
;
},
},
notificationIcon
()
{
notificationIcon
()
{
return
this
.
subscribed
?
ICON_ON
:
ICON_OFF
;
return
this
.
subscribed
?
ICON_ON
:
ICON_OFF
;
...
...
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