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