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
Léo-Paul Géneau
gitlab-ce
Commits
de19158c
Commit
de19158c
authored
Jan 11, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add prop defaults
parent
7b0d1e7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
...cripts/sidebar/components/subscriptions/subscriptions.vue
+2
-2
app/assets/javascripts/vue_shared/components/toggle_button.vue
...ssets/javascripts/vue_shared/components/toggle_button.vue
+2
-0
No files found.
app/assets/javascripts/sidebar/components/subscriptions/subscriptions.vue
View file @
de19158c
<
script
>
<
script
>
/* eslint-disable vue/require-default-prop */
import
{
__
}
from
'
../../../locale
'
;
import
eventHub
from
'
../../event_hub
'
;
import
eventHub
from
'
../../event_hub
'
;
import
toggleButton
from
'
../../../vue_shared/components/toggle_button.vue
'
;
import
toggleButton
from
'
../../../vue_shared/components/toggle_button.vue
'
;
...
@@ -17,10 +15,12 @@
...
@@ -17,10 +15,12 @@
subscribed
:
{
subscribed
:
{
type
:
Boolean
,
type
:
Boolean
,
required
:
false
,
required
:
false
,
default
:
null
,
},
},
id
:
{
id
:
{
type
:
Number
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
null
,
},
},
},
},
computed
:
{
computed
:
{
...
...
app/assets/javascripts/vue_shared/components/toggle_button.vue
View file @
de19158c
...
@@ -23,10 +23,12 @@
...
@@ -23,10 +23,12 @@
name
:
{
name
:
{
type
:
String
,
type
:
String
,
required
:
false
,
required
:
false
,
default
:
null
,
},
},
value
:
{
value
:
{
type
:
Boolean
,
type
:
Boolean
,
required
:
false
,
required
:
false
,
default
:
null
,
},
},
disabledInput
:
{
disabledInput
:
{
type
:
Boolean
,
type
:
Boolean
,
...
...
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