diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-20 23:14:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 23:14:11 +0200 |
commit | 5cc82fb80f5f91ed9d4a32a71e090a9a805ff2a9 (patch) | |
tree | 431d14cb0983e78bb8ac870e3ad55088a4d2345e /src-vue/src/views | |
parent | 31f26c4dd4a92bb5826ad2af9ccb9808fca40e40 (diff) | |
download | FlightCore-5cc82fb80f5f91ed9d4a32a71e090a9a805ff2a9.tar.gz FlightCore-5cc82fb80f5f91ed9d4a32a71e090a9a805ff2a9.zip |
refactor: Various formatting and fixes (#23)
* refactor: Add error return type
* style: Auto-format
Only minor changes, did not take over all changes from auto-format.
* refactor: Rename function to get FC version number
To make it more clear which version number we're getting
(FlightCore vs Northstar)
Diffstat (limited to 'src-vue/src/views')
-rw-r--r-- | src-vue/src/views/ChangelogView.vue | 5 | ||||
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 2 | ||||
-rw-r--r-- | src-vue/src/views/PlayView.vue | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/src-vue/src/views/ChangelogView.vue b/src-vue/src/views/ChangelogView.vue index 9fca5e5b..ff4f2659 100644 --- a/src-vue/src/views/ChangelogView.vue +++ b/src-vue/src/views/ChangelogView.vue @@ -1,6 +1,7 @@ <template> <div class="fc__changelog__container"> - <el-link :underline="false" icon="DocumentCopy" target="_blank" href="https://github.com/R2Northstar/Northstar/releases"> + <el-link :underline="false" icon="DocumentCopy" target="_blank" + href="https://github.com/R2Northstar/Northstar/releases"> Open release notes </el-link> </div> @@ -18,6 +19,6 @@ export default { } .el-link { - color: white; + color: white; } </style> diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index dcc0c477..3a7ec8f5 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -26,7 +26,7 @@ </template> <script lang="ts"> -import {defineComponent} from "vue"; +import { defineComponent } from "vue"; import { invoke } from "@tauri-apps/api"; import { ElNotification } from "element-plus"; import { ReleaseCanal } from "../utils/ReleaseCanal"; diff --git a/src-vue/src/views/PlayView.vue b/src-vue/src/views/PlayView.vue index b02acc59..7b034004 100644 --- a/src-vue/src/views/PlayView.vue +++ b/src-vue/src/views/PlayView.vue @@ -1,6 +1,6 @@ <script lang="ts"> import { ElNotification } from 'element-plus'; -import {Tabs} from "../utils/Tabs"; +import { Tabs } from "../utils/Tabs"; import PlayButton from '../components/PlayButton.vue'; import { defineComponent } from "vue"; @@ -55,10 +55,10 @@ export default defineComponent({ </div> </div> <div> - <PlayButton/> + <PlayButton /> <div v-if="$store.state.developer_mode" id="fc_services__status"> <div> - <div class="fc_version__line">Northstar is running: </div> + <div class="fc_version__line">Northstar is running: </div> <div class="fc_version__line fc_version__line__boolean"> {{ northstarIsRunning }}</div> </div> <div> |