We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291da6f commit 9ea531aCopy full SHA for 9ea531a
src/views/Home.vue
@@ -53,7 +53,7 @@ div
53
li #[a(href="https://forum.activitywatch.net/") Forum]
54
li #[a(href="https://discord.gg/vDskV9q") Discord]
55
li #[a(href="https://github.com/ActivityWatch/activitywatch") GitHub]
56
- li #[a(href="/api/") API Browser]
+ li(v-if="!info.version.includes('rust')" ) #[a(href="/api/") API Browser]
57
58
div.col-md-6
59
h4 Want to know what we're working on?
@@ -70,7 +70,13 @@ div
70
</template>
71
72
<script lang="ts">
73
+import { mapState } from 'pinia';
74
+import { useServerStore } from '~/stores/server';
75
+
76
export default {
77
name: 'Home',
78
+ computed: {
79
+ ...mapState(useServerStore, ['info']),
80
+ },
81
};
82
</script>
0 commit comments