feat: custom page favicon upload (#380)
* feat: custom page favicon upload * fix helper text * fix ios icon --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -55,6 +55,13 @@
|
||||
label="Page Thumbnail Image"
|
||||
help="Also know as og:image - 1200 X 630"
|
||||
/>
|
||||
<image-input
|
||||
v-model="form.seo_meta.page_favicon"
|
||||
name="page_favicon"
|
||||
class="mt-4"
|
||||
label="Page Favicon Image"
|
||||
help="Upload favicon image to be displayed on the form page"
|
||||
/>
|
||||
</editor-options-panel>
|
||||
</template>
|
||||
|
||||
@@ -104,7 +111,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
mounted() {
|
||||
["page_title", "page_description", "page_thumbnail"].forEach((keyname) => {
|
||||
["page_title", "page_description", "page_thumbnail", "page_favicon"].forEach((keyname) => {
|
||||
if (this.form.seo_meta[keyname] === undefined) {
|
||||
this.form.seo_meta[keyname] = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user