fix:#22 linting now works again

This commit is contained in:
survellow
2024-08-15 13:33:12 +02:00
parent 403a2ed155
commit aa5d7148fe

View File

@ -52,7 +52,7 @@ router.afterEach(async (to) => {
});
const rooms = computed<Set<string>>(() => {
let rooms: Set<string> = new Set();
const rooms: Set<string> = new Set();
occupancy.value?.rooms.forEach((room) => {
rooms.add(room.name);
@ -117,7 +117,7 @@ watch(selectedRoom, (newRoom: Room) => {
<!--last update date-->
<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>
<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>
</template>
</DynamicPage>