diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-09-17 17:26:22 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-09-17 17:26:22 +0000 |
| commit | b225c3578f3c89af5ed3a0be3f8f3a6bbcedcc7d (patch) | |
| tree | bdc628fbb9706b1257bd5623284246238878bd8b /src/components/contrast_ratio/contrast_ratio.vue | |
| parent | 938887ef91a12dcaaaaa0884af4e76abd1c6c679 (diff) | |
| parent | 30efbaab34b25834531c0f978cb4494eefeebfa1 (diff) | |
Merge branch 'rc/2.1.2' into 'master'
Merge 2.1.2 to MASTER
See merge request pleroma/pleroma-fe!1236
Diffstat (limited to 'src/components/contrast_ratio/contrast_ratio.vue')
| -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: { |
