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:
committed by
Nicolas Giard
parent
2142b5f674
commit
0f9ddf1e5d
@@ -42,7 +42,8 @@
|
||||
export default {
|
||||
props: {
|
||||
value: {
|
||||
type: Object
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
@@ -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() {
|
||||
|
@@ -57,7 +57,8 @@ import unassignUserMutation from 'gql/admin/groups/groups-mutation-unassign.gql'
|
||||
export default {
|
||||
props: {
|
||||
value: {
|
||||
type: Object
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
Reference in New Issue
Block a user