mirror of
https://github.com/unraid/api.git
synced 2026-01-07 17:19:52 -06:00
refactor(plg): console.error for unfound js file
This commit is contained in:
@@ -83,6 +83,6 @@ if ($fileValue !== null) {
|
||||
$prefixedPath = '/plugins/dynamix.my.servers/connect-components/';
|
||||
echo '<script src="' . $prefixedPath . $fileValue . '"></script>';
|
||||
} else {
|
||||
echo '<script>console.error("%cNo matching key containing \'' . $searchText . '\' found.", "font-weight: bold; color: white; background-color: red");</script>';
|
||||
echo '<script>console.error("%cUnraid Connect • No matching key containing \'' . $searchText . '\' found in manfiest.json.", "font-weight: bold; color: white; background-color: red");</script>';
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user