Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
81d3dc08
authored
Jun 06, 2026
by
QuentinHsu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf(model-pricing): reduce duplicate model name display
parent
5681c92b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
web/default/src/features/system-settings/models/model-pricing-sheet.tsx
+0
-7
No files found.
web/default/src/features/system-settings/models/model-pricing-sheet.tsx
View file @
81d3dc08
...
...
@@ -471,7 +471,6 @@ export const ModelPricingEditorPanel = forwardRef<
[
form
,
validatePricingValues
,
buildSubmitData
]
)
const
activeName
=
watchedValues
.
name
||
editData
?.
name
||
t
(
'New model'
)
const
showActions
=
Boolean
(
onSave
)
return
(
...
...
@@ -487,9 +486,6 @@ export const ModelPricingEditorPanel = forwardRef<
<
h3
className=
'truncate text-base font-medium'
>
{
isEditMode
?
t
(
'Edit model pricing'
)
:
t
(
'Add model pricing'
)
}
</
h3
>
<
p
className=
'text-muted-foreground truncate text-sm'
>
{
activeName
}
</
p
>
</
div
>
</
div
>
</
div
>
...
...
@@ -656,9 +652,6 @@ export const ModelPricingEditorPanel = forwardRef<
<
aside
className=
'bg-muted/20 sticky top-0 rounded-lg border'
>
<
div
className=
'border-b px-3 py-2'
>
<
div
className=
'text-sm font-medium'
>
{
t
(
'Preview'
)
}
</
div
>
<
div
className=
'text-muted-foreground text-xs'
>
{
activeName
}
</
div
>
</
div
>
<
div
className=
'divide-y'
>
{
previewRows
.
map
((
row
)
=>
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment