feat: user communication flags

This commit is contained in:
2026-01-14 00:14:35 +01:00
parent 052ca08f01
commit 1819569234
18 changed files with 106 additions and 2 deletions
+22 -1
View File
@@ -146,6 +146,14 @@
</span>
</td>
<td class="station-dispatcher-lang">
<img
v-if="station.onlineInfo"
:src="`/images/flags/${getLanguageNameById(station.onlineInfo.dispatcherLanguageId)}.svg`"
alt="user flag"
/>
</td>
<td class="station-dispatcher-exp">
<span
v-if="station.onlineInfo && station.onlineInfo?.dispatcherExp != -1"
@@ -344,6 +352,7 @@ import { useTooltipStore } from '../../store/tooltipStore';
import { getChangedFilters } from '../../managers/stationFilterManager';
import { ActiveSorter, HeadIdsType, headIconsIds, headIds } from './typings';
import { filterStations, sortStations } from './utils';
import { getLanguageNameById } from '../../utils/languageUtils';
export default defineComponent({
emits: ['toggleDonationCard'],
@@ -354,7 +363,8 @@ export default defineComponent({
data: () => ({
headIconsIds,
headIds,
getChangedFilters
getChangedFilters,
getLanguageNameById
}),
setup() {
@@ -495,6 +505,10 @@ thead th {
width: 12em;
}
&.dispatcher-lang {
width: 6em;
}
&.dispatcher-lvl {
width: 6em;
}
@@ -604,6 +618,13 @@ tbody tr {
}
}
.station-dispatcher-lang {
img {
max-width: 2em;
vertical-align: middle;
}
}
.station-level {
span {
background-color: #888;