mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 23:06:11 +00:00
remove unncessary filter
This commit is contained in:
@@ -219,10 +219,7 @@ export default defineStore("roms", {
|
||||
romApi
|
||||
.getRecentPlayedRoms()
|
||||
.then(({ data: { items } }) => {
|
||||
const filteredItems = items.filter(
|
||||
(rom) => rom.rom_user.last_played,
|
||||
);
|
||||
this.setContinuePlayingRoms(filteredItems);
|
||||
this.setContinuePlayingRoms(items);
|
||||
resolve(items);
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user