fix: show NO MODEL placeholder instead of OFFLINE when unconfigured
This commit is contained in:
@@ -56,7 +56,7 @@ export class InflightMonitor extends SingletonAction<InflightSettings> {
|
|||||||
const modelId = this.settings.modelId ?? "";
|
const modelId = this.settings.modelId ?? "";
|
||||||
const state = runtime.tracker.state(modelId);
|
const state = runtime.tracker.state(modelId);
|
||||||
const count = runtime.tracker.count(modelId);
|
const count = runtime.tracker.count(modelId);
|
||||||
const offline = runtime.offline || modelId.length === 0;
|
const offline = runtime.offline && modelId.length > 0;
|
||||||
void action.setImage(
|
void action.setImage(
|
||||||
svgDataUrl(
|
svgDataUrl(
|
||||||
renderInflight({
|
renderInflight({
|
||||||
|
|||||||
Reference in New Issue
Block a user