fix: drop unsupported user argument from disk tables and show disk count in tab badge
NetBox 4.7 tables no longer accept a user keyword argument, which broke the Datenträger tab with a TypeError. The tab badge now shows the number of installed disks instead of used/total slots or "neu". Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
adbd697c0a
commit
a296c57536
2 files changed
+11
-15
No files matched your search
@@ -223,9 +223,8 @@ case-insensitive and only matches the first word: `DC01` matches
|
||||
### Disks (Datenträger)
|
||||
|
||||
Devices whose role is one of `disk_device_roles` (default `Server`, `NAS`,
|
||||
`SAN`, `MSA`) get a **Datenträger** tab. The tab badge shows used/total slots,
|
||||
or `neu` while nothing has been set up yet. Devices with other roles do not
|
||||
show the tab.
|
||||
`SAN`, `MSA`) get a **Datenträger** tab. The tab badge shows the number of
|
||||
installed disks. Devices with other roles do not show the tab.
|
||||
|
||||
**First visit.** A wizard asks for the number of slots, the number of rows on
|
||||
the device front, the number of the first slot (0 or 1, as printed by the
|
||||
|
||||
Reference in new issue
Block a user