frequi_origin/src/components/layout/NavFooter.vue

32 lines
893 B
Vue
Raw Normal View History

2021-12-19 19:14:35 +00:00
<template>
<footer>
<hr class="my-0" />
<div class="d-flex flex-align-center justify-content-center">
<router-link v-if="!canRunBacktest" class="nav-link navbar-nav" to="/balance">
Balance
</router-link>
2021-12-22 05:44:09 +00:00
<router-link v-if="!canRunBacktest" class="nav-link navbar-nav" to="/trades">
Trades
</router-link>
2021-12-19 19:14:35 +00:00
<router-link v-if="!canRunBacktest" class="nav-link navbar-nav" to="/dashboard">
Dashboard
</router-link>
</div>
</footer>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import { namespace } from 'vuex-class';
import { BotStoreGetters } from '@/store/modules/ftbot';
const ftbot = namespace('ftbot');
@Component({})
export default class NavFooter extends Vue {
@ftbot.Getter [BotStoreGetters.canRunBacktest]!: boolean;
}
</script>
<style lang="scss" scoped></style>