Commit 7a2ff96
Hide exception in ObjectCountsWidget for models without a
* Hide exception in ObjectCountsWidget for models without a `xxx_list` view function
Fixes #17341
* Disable hyperlink for invalid view names
---------
Co-authored-by: Jeremy Stretch <[email protected]>xxx_list view function (#17342)1 parent 814b699 commit 7a2ff96
File tree
2 files changed
+6
-3
lines changed- netbox
- extras/dashboard
- templates/extras/dashboard/widgets
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | | - | |
| 192 | + | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments