fix: Switch converted to Object Literal (#940)

* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
This commit is contained in:
rbtprograms
2019-08-04 13:31:13 -07:00
committed by Nicolas Giard
parent 2142b5f674
commit 0f9ddf1e5d
28 changed files with 701 additions and 59 deletions

View File

@@ -42,7 +42,8 @@
export default {
props: {
value: {
type: Object
type: Object,
default: () => ({})
}
},
data() {

View File

@@ -186,7 +186,6 @@
v-subheader.pl-0 Regular Expressions
span Expressions that are deemed unsafe or could result in exponential time processing will be rejected upon saving.
</template>
<script>
@@ -196,7 +195,8 @@ import nanoid from 'nanoid/non-secure/generate'
export default {
props: {
value: {
type: Object
type: Object,
default: () => ({})
}
},
data() {

View File

@@ -57,7 +57,8 @@ import unassignUserMutation from 'gql/admin/groups/groups-mutation-unassign.gql'
export default {
props: {
value: {
type: Object
type: Object,
default: () => ({})
}
},
components: {