Skip to content

Commit e6a4fc9

Browse files
committed
Minor mcs ui updates
1 parent f96ce1c commit e6a4fc9

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

sim-ops-mcs/src/stores/app-sidebar-menu.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useAppSidebarMenuStore = defineStore({
2424
'text': 'DHS'
2525
}, {
2626
'url': '/payload',
27-
'icon': 'fas fa-camera-retro',
27+
'icon': 'bi bi-columns-gap',
2828
'text': 'Payload'
2929
}, {
3030
'text': 'Monitoring',
@@ -37,10 +37,6 @@ export const useAppSidebarMenuStore = defineStore({
3737
'url': '/ground_station',
3838
'icon': 'fa-solid fa-satellite-dish',
3939
'text': 'Ground Station'
40-
// }, {
41-
// 'url': '/position',
42-
// 'icon': 'fa-solid fa-satellite-dish',
43-
// 'text': 'Position'
4440
}, {
4541
'text': 'Control',
4642
'is_header': true

sim-ops-mcs/src/views/Admin.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,13 @@ export default {
8484
}
8585
else {
8686
this.renderComponent = false;
87+
document.getElementById("auth-result").innerHTML = "Wrong password!";
8788
}
8889
})
90+
.catch(() => {
91+
this.renderComponent = false;
92+
document.getElementById("auth-result").innerHTML = "Wrong password!";
93+
})
8994
},
9095
adminRun(control, value, event) {
9196
let button = event.target;
@@ -281,9 +286,6 @@ export default {
281286
<card-body>
282287
<table class="table table-sm table-borderless mb-2px small">
283288
<tbody v-if="data">
284-
<!-- <tr v-if="state && state.tc_history.length === 0">
285-
<td>None</td>
286-
</tr> -->
287289
<tr v-for="(v, k) in data[name]">
288290
<td>{{ k }}</td><td><code>{{ v }}</code></td>
289291
</tr>

0 commit comments

Comments
 (0)