fix: fix filament type check in StartPrintDialog (#1620)
This commit is contained in:
parent
6e21642deb
commit
c14873a8a5
@ -73,7 +73,9 @@ export default class StartPrintDialogSpoolman extends Mixins(BaseMixin) {
|
||||
return alerts
|
||||
}
|
||||
|
||||
const gcodeFilamentType = this.file.filament_type ?? ''
|
||||
let gcodeFilamentType = this.file.filament_type ?? ''
|
||||
if (gcodeFilamentType.includes(';')) gcodeFilamentType = gcodeFilamentType.split(';')[0]
|
||||
|
||||
if (
|
||||
gcodeFilamentType !== '' &&
|
||||
this.activeSpool?.filament?.material?.toLowerCase() !== gcodeFilamentType.toLowerCase()
|
||||
|
Loading…
x
Reference in New Issue
Block a user