Fix 'about' section of the options page

This commit is contained in:
Tamius Han 2020-11-30 00:50:13 +01:00
parent 2ab01c1013
commit dbc0c8c741

View File

@ -38,12 +38,14 @@ import Settings from '../ext/lib/Settings';
export default { export default {
data() { data() {
return { return {
addonVersion: Settings.getVersion(), addonVersion: '[extension version not loaded. This is a bug.]',
mailtoLink: 'mailto:tamius.han@gmail.com', mailtoLink: 'mailto:tamius.han@gmail.com',
redditLink: '', redditLink: '',
} }
}, },
created() { created() {
this.addonVersion = Settings.getExtensionVersion();
const messageTemplate = encodeURIComponent( const messageTemplate = encodeURIComponent(
`Describe your issue in more detail. In case of misaligned videos, please provide screenshots. When reporting\ `Describe your issue in more detail. In case of misaligned videos, please provide screenshots. When reporting\
issues with autodetection not detecting aspect ratio correctly, please provide a link with timestamp to the\ issues with autodetection not detecting aspect ratio correctly, please provide a link with timestamp to the\