mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
fix:#22 linting now works again
This commit is contained in:
@ -52,7 +52,7 @@ router.afterEach(async (to) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const rooms = computed<Set<string>>(() => {
|
const rooms = computed<Set<string>>(() => {
|
||||||
let rooms: Set<string> = new Set();
|
const rooms: Set<string> = new Set();
|
||||||
|
|
||||||
occupancy.value?.rooms.forEach((room) => {
|
occupancy.value?.rooms.forEach((room) => {
|
||||||
rooms.add(room.name);
|
rooms.add(room.name);
|
||||||
@ -117,7 +117,7 @@ watch(selectedRoom, (newRoom: Room) => {
|
|||||||
<!--last update date-->
|
<!--last update date-->
|
||||||
<div class="flex align-items-baseline justify-content-end text-right text-xs text-gray-500">
|
<div class="flex align-items-baseline justify-content-end text-right text-xs text-gray-500">
|
||||||
<span v-if="occupancy">{{ $t("roomFinderPage.lastUpdate") }}: {{ $d(occupancy.updated, 'long') }}</span>
|
<span v-if="occupancy">{{ $t("roomFinderPage.lastUpdate") }}: {{ $d(occupancy.updated, 'long') }}</span>
|
||||||
<Button size="small" @click="refetchRoomOccupancy" icon="pi pi-refresh" class="p-button-text p-button-sm" />
|
<Button size="small" icon="pi pi-refresh" class="p-button-text p-button-sm" @click="refetchRoomOccupancy" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</DynamicPage>
|
</DynamicPage>
|
||||||
|
Reference in New Issue
Block a user