Skip to content

Commit

Permalink
Merge pull request #2667 from nextcloud/fix/2665/css-chunks
Browse files Browse the repository at this point in the history
fix: no need to include CSS chunks separately
  • Loading branch information
raimund-schluessler authored Aug 29, 2024
2 parents 89aa6ee + 6a72488 commit a98e722
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lib/Dashboard/TasksWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ public function getUrl(): ?string {
public function load(): void {
\OCP\Util::addScript('tasks', 'tasks-dashboard');
\OCP\Util::addStyle('tasks', 'tasks-dashboard');
\OCP\Util::addStyle('tasks', 'tasks-store');
\OCP\Util::addStyle('tasks', 'tasks-icon');
\OCP\Util::addStyle('tasks', 'tasks-TaskCreateDialog');
\OCP\Util::addStyle('tasks', 'tasks-Plus');
}
}
2 changes: 0 additions & 2 deletions lib/Listeners/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ public function handle(Event $event): void {
if (strpos($pathInfo, '/call/') === 0 || strpos($pathInfo, '/apps/spreed') === 0) {
Util::addScript('tasks', 'tasks-talk');
Util::addStyle('tasks', 'tasks-icon');
Util::addStyle('tasks', 'tasks-store');
Util::addStyle('tasks', 'tasks-TaskCreateDialog');
}
}
}
2 changes: 0 additions & 2 deletions templates/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@

script('tasks', 'tasks-main');
style('tasks', 'tasks-main');
style('tasks', 'tasks-store');
style('tasks', 'tasks-Plus');

0 comments on commit a98e722

Please sign in to comment.