diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-09-09 10:21:54 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-09-09 10:21:54 +0000 |
| commit | 679a1f5e1c0591bd1864b4ff5faa9233a0e53adc (patch) | |
| tree | c34e85192ac14fd30ea5dd5de84610bcbd5acaef /src/components/contrast_ratio | |
| parent | da63894072e133f66e7861e8c1ae50744cc980c3 (diff) | |
| parent | afb2241a5ba057f5d21abb23fa5400e461ba8cf5 (diff) | |
Merge branch 'fix/fix-vue-errors' into 'develop'
fix vue warnings and errors
See merge request pleroma/pleroma-fe!1230
Diffstat (limited to 'src/components/contrast_ratio')
| -rw-r--r-- | src/components/contrast_ratio/contrast_ratio.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/contrast_ratio/contrast_ratio.vue b/src/components/contrast_ratio/contrast_ratio.vue index ba92bc17..9dc871b6 100644 --- a/src/components/contrast_ratio/contrast_ratio.vue +++ b/src/components/contrast_ratio/contrast_ratio.vue @@ -39,13 +39,16 @@ export default { props: { large: { - required: false + required: false, + type: Boolean, + default: false }, // TODO: Make theme switcher compute theme initially so that contrast // component won't be called without contrast data contrast: { required: false, - type: Object + type: Object, + default: () => ({}) } }, computed: { |
