fix: Always load proper dashboard js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -80,6 +80,6 @@ class DeckWidgetToday implements IWidget {
|
|||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
public function load(): void {
|
public function load(): void {
|
||||||
\OCP\Util::addScript('deck', 'dashboard');
|
\OCP\Util::addScript('deck', 'deck-dashboard');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,6 +80,6 @@ class DeckWidgetTomorrow implements IWidget {
|
|||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
public function load(): void {
|
public function load(): void {
|
||||||
\OCP\Util::addScript('deck', 'dashboard');
|
\OCP\Util::addScript('deck', 'deck-dashboard');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user