FIX: Use `route` for admin sentiment sidebar links (#1160)
Minor, but there is a core bug when using `href` at the moment, this fixes the issue, and I will do more in core separately.
This commit is contained in:
parent
5368b0c7d0
commit
3f20b24aa3
|
@ -6,7 +6,7 @@ export default apiInitializer("1.15.0", (api) => {
|
|||
if (settings.ai_sentiment_enabled) {
|
||||
api.addAdminSidebarSectionLink("reports", {
|
||||
name: "sentiment_overview",
|
||||
href: "/admin/dashboard/sentiment#sentiment-heading",
|
||||
route: "admin.dashboardSentiment",
|
||||
label: "discourse_ai.sentiments.sidebar.overview",
|
||||
icon: "chart-column",
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue