You've already forked AstralRinth
forked from didirus/AstralRinth
Wire Profile Backend to Frontend (#71)
* Search updates * fixes2 * Some more work * start instance page wiring * Pack installation + Profile viewing * Remove print statement * Fix disappearing profiles * fix compile err * Finish Instance Running * remove print statement * fix prettier * Fix clippy + early return
This commit is contained in:
@@ -36,6 +36,7 @@ export const useSearch = defineStore('searchStore', {
|
||||
formattedAndFacets = formattedAndFacets.slice(0, formattedAndFacets.length - 1)
|
||||
formattedAndFacets += ''
|
||||
|
||||
// TODO: fix me - ask jai
|
||||
// If orFacets are present, start building formatted orFacet filter
|
||||
let formattedOrFacets = ''
|
||||
if (this.orFacets.length > 0 || this.activeVersions.length > 0) {
|
||||
@@ -91,18 +92,6 @@ export const useSearch = defineStore('searchStore', {
|
||||
this.offset = response.offset
|
||||
this.pageCount = Math.ceil(this.totalHits / this.limit)
|
||||
},
|
||||
toggleCategory(cat) {
|
||||
this.categories[cat] = !this.categories[cat]
|
||||
},
|
||||
toggleLoader(loader) {
|
||||
this.loaders[loader] = !this.loaders[loader]
|
||||
},
|
||||
toggleEnv(env) {
|
||||
this.environments[env] = !this.environments[env]
|
||||
},
|
||||
setVersions(versions) {
|
||||
this.activeVersions = versions
|
||||
},
|
||||
resetFilters() {
|
||||
this.facets = []
|
||||
this.orFacets = []
|
||||
|
||||
Reference in New Issue
Block a user