15.10 Add a Visit our website Link with openURL Utility
This commit is contained in:
parent
dd2a23a42a
commit
7ca8e1b995
@ -47,12 +47,27 @@
|
||||
<q-icon name="chevron_right" />
|
||||
</q-item-section>
|
||||
</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-page>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters, mapActions } from 'vuex'
|
||||
import { openURL } from 'quasar'
|
||||
|
||||
export default {
|
||||
name: 'PageSettings',
|
||||
@ -79,7 +94,10 @@ export default {
|
||||
...mapActions('settings', [
|
||||
'setShow12HourTimeFormat',
|
||||
'setShowTasksInOnelist'
|
||||
])
|
||||
]),
|
||||
visitOurWebsite () {
|
||||
openURL('https://home.elder-geek.net')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user