Skip to content

Commit

Permalink
Merge commit 'ada87ae3db2da358475540eb18b18956e709c87a'
Browse files Browse the repository at this point in the history
  • Loading branch information
gsabater committed Sep 20, 2024
2 parents fdeb279 + ada87ae commit bc21ba0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion stores/dataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @desc: ...
* -------------------------------------------
* Created Date: 14th November 2023
* Modified: Mon 16 September 2024 - 17:23:05
* Modified: Fri 20 September 2024 - 14:09:44
*/

let $nuxt = null
Expand Down Expand Up @@ -171,6 +171,17 @@ export const useDataStore = defineStore('data', {
return library.map((uuid) => data[uuid]).filter(Boolean)
},

//+-------------------------------------------------
// steam_library()
// Returns the library of steam games
// -----
// Created on Fri Sep 20 2024
//+-------------------------------------------------
steam_library(as = null) {
let library = this.library()
return library.filter((item) => item.id.steam)
},

//+-------------------------------------------------
// pinned and hidden()
// Returns a list of apps marked as pinned
Expand Down

0 comments on commit bc21ba0

Please sign in to comment.