diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:03:11 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:03:11 +0300 |
| commit | b725df6352c27421f0549b6e4c2ceeb0d240919f (patch) | |
| tree | a0a733302b9ab28e50419bb13937dc261d09646b /src/components/contrast_ratio/contrast_ratio.vue | |
| parent | fa2b680855c790ba8ed8d7cc0dbf2a3a2e1dbaf6 (diff) | |
| parent | 0fee9a8fe71faed789589aae6ff1bf3434e01e93 (diff) | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
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: { |
