DEV: Remove breadcrumbs for now (#656)
This core PR will change the component API a bit, so it's easier to remove these for now and add them back after: https://github.com/discourse/discourse/pull/27365
This commit is contained in:
parent
92108452f2
commit
7a64699314
|
@ -1,7 +1,6 @@
|
|||
import Component from "@glimmer/component";
|
||||
import { concat } from "@ember/helper";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
|
||||
import icon from "discourse-common/helpers/d-icon";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import I18n from "discourse-i18n";
|
||||
|
@ -13,15 +12,6 @@ export default class AiLlmsListEditor extends Component {
|
|||
}
|
||||
|
||||
<template>
|
||||
<DBreadcrumbsItem as |linkClass|>
|
||||
<LinkTo
|
||||
@route="adminPlugins.show.discourse-ai-personas"
|
||||
class={{linkClass}}
|
||||
>
|
||||
{{i18n "discourse_ai.llms.short_title"}}
|
||||
</LinkTo>
|
||||
</DBreadcrumbsItem>
|
||||
|
||||
<section class="ai-llms-list-editor admin-detail pull-left">
|
||||
{{#if @currentLlm}}
|
||||
<AiLlmEditor @model={{@currentLlm}} @llms={{@llms}} />
|
||||
|
|
|
@ -4,7 +4,6 @@ import { fn } from "@ember/helper";
|
|||
import { on } from "@ember/modifier";
|
||||
import { action } from "@ember/object";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
|
||||
import DToggleSwitch from "discourse/components/d-toggle-switch";
|
||||
import concatClass from "discourse/helpers/concat-class";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
|
@ -43,15 +42,6 @@ export default class AiPersonaListEditor extends Component {
|
|||
}
|
||||
|
||||
<template>
|
||||
<DBreadcrumbsItem as |linkClass|>
|
||||
<LinkTo
|
||||
@route="adminPlugins.show.discourse-ai-personas"
|
||||
class={{linkClass}}
|
||||
>
|
||||
{{i18n "discourse_ai.ai_persona.short_title"}}
|
||||
</LinkTo>
|
||||
</DBreadcrumbsItem>
|
||||
|
||||
<section class="ai-persona-list-editor__current admin-detail pull-left">
|
||||
{{#if @currentPersona}}
|
||||
<AiPersonaEditor @model={{@currentPersona}} @personas={{@personas}} />
|
||||
|
|
Loading…
Reference in New Issue