15.10 Add a Visit our website Link with openURL Utility

This commit is contained in:
Fredrick W Warren 2021-02-12 10:25:55 -08:00
parent dd2a23a42a
commit 7ca8e1b995

View File

@ -47,12 +47,27 @@
<q-icon name="chevron_right" /> <q-icon name="chevron_right" />
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item
@click="visitOurWebsite"
tag="label"
v-ripple
>
<q-item-section>
<q-item-label>Visit our website</q-item-label>
</q-item-section>
<q-item-section side >
<q-icon name="chevron_right" />
</q-item-section>
</q-item>
</q-list> </q-list>
</q-page> </q-page>
</template> </template>
<script> <script>
import { mapGetters, mapActions } from 'vuex' import { mapGetters, mapActions } from 'vuex'
import { openURL } from 'quasar'
export default { export default {
name: 'PageSettings', name: 'PageSettings',
@ -79,7 +94,10 @@ export default {
...mapActions('settings', [ ...mapActions('settings', [
'setShow12HourTimeFormat', 'setShow12HourTimeFormat',
'setShowTasksInOnelist' 'setShowTasksInOnelist'
]) ]),
visitOurWebsite () {
openURL('https://home.elder-geek.net')
}
} }
} }
</script> </script>