mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
Merge pull request #1417 from rommapp/default-grid-view-false
Default grid view for recently and continue playing to false
This commit is contained in:
@@ -14,7 +14,7 @@ const { continuePlayingRoms } = storeToRefs(romsStore);
|
||||
const gridContinuePlayingRoms = isNull(
|
||||
localStorage.getItem("settings.gridContinuePlayingRoms"),
|
||||
)
|
||||
? true
|
||||
? false
|
||||
: localStorage.getItem("settings.gridContinuePlayingRoms") === "true";
|
||||
</script>
|
||||
<template>
|
||||
|
||||
@@ -12,7 +12,7 @@ const { t } = useI18n();
|
||||
const romsStore = storeRoms();
|
||||
const { recentRoms } = storeToRefs(romsStore);
|
||||
const gridRecentRoms = isNull(localStorage.getItem("settings.gridRecentRoms"))
|
||||
? true
|
||||
? false
|
||||
: localStorage.getItem("settings.gridRecentRoms") === "true";
|
||||
</script>
|
||||
<template>
|
||||
|
||||
@@ -14,7 +14,7 @@ const showRecentRomsRef = ref(
|
||||
);
|
||||
const storedGridRecentRoms = localStorage.getItem("settings.gridRecentRoms");
|
||||
const gridRecentRomsRef = ref(
|
||||
isNull(storedGridRecentRoms) ? true : storedGridRecentRoms === "true",
|
||||
isNull(storedGridRecentRoms) ? false : storedGridRecentRoms === "true",
|
||||
);
|
||||
const storedShowContinuePlaying = localStorage.getItem(
|
||||
"settings.showContinuePlaying",
|
||||
@@ -29,7 +29,7 @@ const storedGridContinuePlaying = localStorage.getItem(
|
||||
);
|
||||
const gridContinuePlayingRef = ref(
|
||||
isNull(storedGridContinuePlaying)
|
||||
? true
|
||||
? false
|
||||
: storedGridContinuePlaying === "true",
|
||||
);
|
||||
const storedShowPlatforms = localStorage.getItem("settings.showPlatforms");
|
||||
|
||||
Reference in New Issue
Block a user