mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: put picture link back and fix type conversion issue #7907
This commit is contained in:
parent
3d1cac71ce
commit
3fe3591f6b
@ -128,7 +128,7 @@ class DashboardController extends ApiControllerBase
|
||||
$translations = (array)($metadataAttributes->translations ?? []);
|
||||
|
||||
if (!empty($link) && !$this->canAccessEndpoints([$link])) {
|
||||
$link = null;
|
||||
$link = '';
|
||||
}
|
||||
|
||||
if (!$this->canAccessEndpoints($endpoints)) {
|
||||
|
||||
@ -339,6 +339,7 @@
|
||||
</openvpnservers>
|
||||
<picture>
|
||||
<filename>Picture.js</filename>
|
||||
<link>/system_general.php</link>
|
||||
<endpoints>
|
||||
<endpoint>/api/core/dashboard/picture</endpoint>
|
||||
</endpoints>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user