Closed johannaengland closed 2 days ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β PYTHON | black | 992 | 0 | 13.17s | |
β PYTHON | ruff | 988 | 0 | 0.1s |
See detailed report in MegaLinter reports
ββββ9 filesββββββ9 suitesβββ8m 28s β±οΈ 2β142 testsβ2β142 β β0 π€β0 β 4β023 runsββ4β023 β β0 π€β0 β
Results for commit 7720f56f.
:recycle: This comment has been updated with latest results.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 60.40%. Comparing base (
3c80b8b
) to head (7720f56
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
π¨ Try these New Features:
Could this be some javascript shenanigans?
Yeah nevermind, just my js scripts werent updated. Had to down-up the containers and now it works fine
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This is not an actual bug, but something I noticed when working on #3150.
The "Delete dashboard" button is already not shown when there is only one dashboard, so it is not possible for a user to try to delete their last dashboard.
So to reproduce this you need to change this line to actually show that button: https://github.com/Uninett/nav/blob/27b12b527aac40a9702cc515981346e21eab89bf/python/nav/web/templates/webfront/index.html#L147
After that when trying to delete the last dashboard an alert box will be added with the content
[Object object]
instead of showing the correct error messageCannot delete last dashboard
.Before:
After: