Commit de19158c authored by Mike Greiling's avatar Mike Greiling

add prop defaults

parent 7b0d1e7d
<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: {
......
...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment