mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-08-01 09:58:42 -04:00
sort device grid by name
This commit is contained in:
@@ -33,12 +33,12 @@ Open up [localhost:5173/](localhost:5173/)
|
||||
- [ ] add rest of settings page
|
||||
- [ ] form for adding new devices
|
||||
- [ ] add per device settings
|
||||
- [x] theme toggle button
|
||||
- [x] add device ports to cards
|
||||
- [x] ~~theme toggle button~~
|
||||
- [x] ~~add device ports to cards~~
|
||||
|
||||
- backend
|
||||
|
||||
- [x] make sure ping works
|
||||
- [x] ~~make sure ping works~~
|
||||
- [ ] make sure arp works
|
||||
- [ ] make sure wake works
|
||||
- [ ] remove nmap?
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
|
||||
// get all devices in pocketbase
|
||||
const result = await pb.collection('devices').getFullList(200, {
|
||||
expand: 'ports'
|
||||
expand: 'ports',
|
||||
sort: 'name'
|
||||
});
|
||||
result.forEach((device) => {
|
||||
devices[device.id] = device;
|
||||
|
||||
Reference in New Issue
Block a user