Skip to content

Commit 0f9e59c

Browse files
authored
Fix widget edit icon logic (librenms#17985)
1 parent 96415fd commit 0f9e59c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/overview/default.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ function widget_dom(data) {
513513
514514
@if (
515515
($dashboard->access == 1 && Auth::id() === $dashboard->user_id) ||
516-
($dashboard->access == 0 || $dashboard->access == 3)
516+
($dashboard->access == 0 || $dashboard->access >= 2)
517517
)
518518
'<i class="fa fa-pencil-square-o edit-widget" data-widget-id="'+data.user_widget_id+'" aria-label="Settings" data-toggle="tooltip" data-placement="top" title="Settings">&nbsp;</i>&nbsp;'+
519519
@endif

0 commit comments

Comments
 (0)