Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kaminsky <tobias@nextcloud.com>2022-09-05 10:22:04 +0300
committerGitHub <noreply@github.com>2022-09-05 10:22:04 +0300
commita0636b05eb0ec6dfdbfa34769172d1b5f3d4456f (patch)
treeaf5e0d074db4e24fc5f9ac58ecf6f1484725b6e5
parentad8f796ea9b2a0c115c8957ac20c88c8a3a6c5dd (diff)
Update lib/AppInfo/DashboardWidget.phpdashboard-api
Co-authored-by: korelstar <korelstar@users.noreply.github.com> Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
-rw-r--r--lib/AppInfo/DashboardWidget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/DashboardWidget.php b/lib/AppInfo/DashboardWidget.php
index ef9a1e38..48ce88ab 100644
--- a/lib/AppInfo/DashboardWidget.php
+++ b/lib/AppInfo/DashboardWidget.php
@@ -90,7 +90,7 @@ class DashboardWidget implements IWidget, IButtonWidget, IAPIWidget {
$excerpt = $note->getExcerpt();
} catch (\Throwable $e) {
}
- $link = $this->url->linkToRouteAbsolute('notes.page.index', ['id' => $note->getId()]);
+ $link = $this->url->linkToRouteAbsolute('notes.page.indexnote', ['id' => $note->getId()]);
$icon = $note->getFavorite() ? $this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/starred.svg')) : '';
return new WidgetItem($note->getTitle(), $excerpt, $link, $icon, (string)$note->getModified());
}, $notes);