|
|
@ -1,16 +1,8 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div v-if="!feedbackFormHidden" class="nc-feedback-form-wrapper"> |
|
|
|
<div v-if="!feedbackFormHidden" class="nc-feedback-form-wrapper"> |
|
|
|
<v-icon class="nc-close-icon" large @click="feedbackFormHidden = true"> |
|
|
|
<v-icon class="nc-close-icon" large @click="feedbackFormHidden = true"> mdi-close-circle-outline </v-icon> |
|
|
|
mdi-close-circle-outline |
|
|
|
|
|
|
|
</v-icon> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<iframe |
|
|
|
<iframe :src="feedbackFormUrl" width="100%" height="500" frameborder="0" marginheight="0" marginwidth="0" |
|
|
|
:src="feedbackFormUrl" |
|
|
|
|
|
|
|
width="100%" |
|
|
|
|
|
|
|
height="500" |
|
|
|
|
|
|
|
frameborder="0" |
|
|
|
|
|
|
|
marginheight="0" |
|
|
|
|
|
|
|
marginwidth="0" |
|
|
|
|
|
|
|
>Loading… |
|
|
|
>Loading… |
|
|
|
</iframe> |
|
|
|
</iframe> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -23,18 +15,17 @@ export default { |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
feedbackFormHidden: { |
|
|
|
feedbackFormHidden: { |
|
|
|
get() { |
|
|
|
get() { |
|
|
|
return this.$store.state.settings.feedbackForm.isShown |
|
|
|
return this.$store.state.settings.feedbackForm.isShown; |
|
|
|
}, |
|
|
|
}, |
|
|
|
set(isShown) { |
|
|
|
set(isShown) { |
|
|
|
this.$store.commit( |
|
|
|
this.$store.commit('settings/MutFeedbackForm', { ...this.$store.state.settings.feedbackForm, isShown }); |
|
|
|
'settings/MutFeedbackForm', { ...this.$store.state.settings.feedbackForm, isShown }) |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
feedbackFormUrl() { |
|
|
|
feedbackFormUrl() { |
|
|
|
return this.$store.state.settings.feedbackForm.url |
|
|
|
return this.$store.state.settings.feedbackForm.url; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="scss"> |
|
|
|