mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-25 17:12:16 +00:00
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…
x
Reference in New Issue
Block a user