diff --git a/backend/src/endpoints/scan.py b/backend/src/endpoints/scan.py index 992c3d408..98f15234c 100644 --- a/backend/src/endpoints/scan.py +++ b/backend/src/endpoints/scan.py @@ -13,7 +13,7 @@ router = APIRouter() @router.get("/scan", status_code=200) -def scan(platforms: str, full_scan: bool=False) -> dict: +def scan(platforms: str, complete_rescan: bool=False) -> dict: """Scan platforms and roms and write them in database.""" log.info(emoji.emojize(":magnifying_glass_tilted_right: Scanning ")) @@ -44,7 +44,7 @@ def scan(platforms: str, full_scan: bool=False) -> dict: raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=error) for rom in fs_roms: rom_id: int = dbh.rom_exists(rom['file_name'], scanned_platform.slug) - if rom_id and not full_scan: continue + if rom_id and not complete_rescan: continue log.info(f"Scanning {COLORS['orange']}{rom['file_name']}{COLORS['reset']}") if rom['multi']: [log.info(f"\t - {COLORS['orange_i']}{file}{COLORS['reset']}") for file in rom['files']] scanned_rom: Rom = fastapi.scan_rom(scanned_platform, rom) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 5987ab2fd..b3802ace6 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,31 +1,33 @@ @@ -33,42 +35,23 @@ onMounted(() => { diff --git a/frontend/src/components/AppBar/Base.vue b/frontend/src/components/AppBar/Base.vue index 8d1501494..8ba6afd52 100644 --- a/frontend/src/components/AppBar/Base.vue +++ b/frontend/src/components/AppBar/Base.vue @@ -1,37 +1,16 @@ - - diff --git a/frontend/src/components/AppBar/Gallery/MainDrawerToggle.vue b/frontend/src/components/AppBar/DrawerToggle.vue similarity index 82% rename from frontend/src/components/AppBar/Gallery/MainDrawerToggle.vue rename to frontend/src/components/AppBar/DrawerToggle.vue index 69dd09f87..72fb9f337 100644 --- a/frontend/src/components/AppBar/Gallery/MainDrawerToggle.vue +++ b/frontend/src/components/AppBar/DrawerToggle.vue @@ -8,7 +8,7 @@ const emitter = inject('emitter')