This commit is contained in:
Douglas Barone 2023-07-04 11:54:53 -04:00
parent 3df3a3f400
commit fec00e6c1f
3 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class PrinterController {
take: 1
}
},
orderBy: { network: { cidr: 'asc' } }
orderBy: { ip: 'asc' }
})
return res.json(printers)

View File

@ -33,6 +33,7 @@ onMounted(async () => {
appStore.selectedCampus = appStore.me?.campus || ''
})
</script>
<style>
.alpha-banner {
position: fixed;

View File

@ -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[]>(