= {
};
function StatusBadge({ status }: { status: string | null }) {
- if (!status || status === "cover_closed") {
+ if (!status || status === "ready" || status === "cover_closed") {
return (
diff --git a/packages/web/src/store/printer-store.ts b/packages/web/src/store/printer-store.ts
index e269ef4..5f39743 100644
--- a/packages/web/src/store/printer-store.ts
+++ b/packages/web/src/store/printer-store.ts
@@ -56,6 +56,8 @@ export function applyModelDefaults(modelId: string): void {
const { widthMm, heightMm } = lc.defaultSize;
useEditorStore.setState({
label: { widthMm, heightMm, widthPx: mmToPx(widthMm), heightPx: mmToPx(heightMm) },
+ // Preview the roll the way it feeds: along the width for rotated (tape) printers
+ rollDirection: lc.rotate === false ? "vertical" : "horizontal",
});
}