{{ status.state.text }}
Job File Name: {{ status.job.file.name || 'None' }}
@@ -27,7 +27,8 @@ import prettyMilliseconds from 'pretty-ms';
import * as octoprint from '../types/octoprint';
defineProps<{
- name: string;
+ slug: string;
+ name?: string;
status: octoprint.CurrentOrHistoryPayload | null;
}>();
diff --git a/types/messages.d.ts b/types/messages.d.ts
index 26983a4..32f211c 100644
--- a/types/messages.d.ts
+++ b/types/messages.d.ts
@@ -2,4 +2,5 @@ import { Message } from './octoprint';
export type ExtendedMessage = (Message | { init?: null }) & {
printer: string;
+ name?: string;
};