mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-21 10:15:04 +02:00
Merge branch '0.2.0b' into 0.2.0b
This commit is contained in:
@@ -91,6 +91,7 @@ export function SpoolmanSettings() {
|
||||
queryClient.invalidateQueries({ queryKey: ['spoolman-settings'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['spoolman-status'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['settings'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['spool-assignments'] });
|
||||
showToast(t('settings.toast.settingsSaved'));
|
||||
},
|
||||
});
|
||||
|
||||
@@ -2926,7 +2926,7 @@ function PrinterCard({
|
||||
});
|
||||
} : undefined,
|
||||
}}
|
||||
inventory={(() => {
|
||||
inventory={spoolmanEnabled ? undefined : (() => {
|
||||
const assignment = onGetAssignment?.(printer.id, ams.id, slotIdx);
|
||||
return {
|
||||
assignedSpool: assignment?.spool ? {
|
||||
@@ -3164,7 +3164,7 @@ function PrinterCard({
|
||||
});
|
||||
} : undefined,
|
||||
}}
|
||||
inventory={(() => {
|
||||
inventory={spoolmanEnabled ? undefined : (() => {
|
||||
const assignment = onGetAssignment?.(printer.id, ams.id, htSlotId);
|
||||
return {
|
||||
assignedSpool: assignment?.spool ? {
|
||||
@@ -3350,7 +3350,7 @@ function PrinterCard({
|
||||
});
|
||||
} : undefined,
|
||||
}}
|
||||
inventory={(() => {
|
||||
inventory={spoolmanEnabled ? undefined : (() => {
|
||||
const assignment = onGetAssignment?.(printer.id, 255, slotTrayId);
|
||||
return {
|
||||
assignedSpool: assignment?.spool ? {
|
||||
|
||||
Reference in New Issue
Block a user