diff --git a/frontend/src/components/Gallery/AppBar/Platform/FirmwareDrawer.vue b/frontend/src/components/Gallery/AppBar/Platform/FirmwareDrawer.vue index 160d9daae..48afaab72 100644 --- a/frontend/src/components/Gallery/AppBar/Platform/FirmwareDrawer.vue +++ b/frontend/src/components/Gallery/AppBar/Platform/FirmwareDrawer.vue @@ -9,7 +9,7 @@ import type { Events } from "@/types/emitter"; import { formatBytes } from "@/utils"; import type { Emitter } from "mitt"; import { storeToRefs } from "pinia"; -import { inject, ref, watch } from "vue"; +import { inject, ref, watch, onMounted } from "vue"; import { useDisplay } from "vuetify"; // Props @@ -60,6 +60,10 @@ function updateDataTablePages() { watch(itemsPerPage, async () => { updateDataTablePages(); }); + +onMounted(() => { + updateDataTablePages(); +});