Fix
This commit is contained in:
parent
3df3a3f400
commit
fec00e6c1f
|
@ -41,7 +41,7 @@ class PrinterController {
|
||||||
take: 1
|
take: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
orderBy: { network: { cidr: 'asc' } }
|
orderBy: { ip: 'asc' }
|
||||||
})
|
})
|
||||||
|
|
||||||
return res.json(printers)
|
return res.json(printers)
|
||||||
|
|
|
@ -33,6 +33,7 @@ onMounted(async () => {
|
||||||
appStore.selectedCampus = appStore.me?.campus || ''
|
appStore.selectedCampus = appStore.me?.campus || ''
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.alpha-banner {
|
.alpha-banner {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -15,6 +15,8 @@ export const useAppStore = defineStore('app', {
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
async fetchPrinters(force = false) {
|
async fetchPrinters(force = false) {
|
||||||
|
if (!this.me) return []
|
||||||
|
|
||||||
this.loadingPrinters = true
|
this.loadingPrinters = true
|
||||||
try {
|
try {
|
||||||
this.printers = await api<any[]>(
|
this.printers = await api<any[]>(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user