mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
Ensure drag and drop of dashboard home happens correctly (caused by b6958b1)
This commit is contained in:
parent
4369b121c6
commit
122505ced4
@ -124,7 +124,7 @@ trait DashboardEntries
|
||||
$data = [$dashboard];
|
||||
} else {
|
||||
$data = array_values($this->getEntries());
|
||||
array_splice($data, array_search($dashboard->getName(), array_keys($this->getEntries())), 1);
|
||||
array_splice($data, array_search(strtolower($dashboard->getName()), array_keys($this->getEntries())), 1);
|
||||
array_splice($data, $position, 0, [$dashboard]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user