style(tui): simplify runtime header controls
This commit is contained in:
1 parent
e69159cdae
commit
6d6d58d329
3 files changed
+20
-70
No files matched your search
@@ -309,10 +309,7 @@ export class RuntimeControls {
|
||||
}
|
||||
|
||||
private render(): void {
|
||||
const runtime = this.modelPreset !== "default"
|
||||
? [this.modelPreset, this.model].filter(Boolean).join(" ")
|
||||
: this.model
|
||||
this.modelText.content = ` ${runtime} ▾`
|
||||
this.modelText.content = `${this.modelPreset} ▾`
|
||||
const access = this.scope.access_mode === "full" ? "full access" : "workspace access"
|
||||
this.accessText.content = ` ${access} ▾`
|
||||
this.renderColors()
|
||||
|
||||
Reference in new issue
Block a user