fix: fix filament type check in StartPrintDialog (#1620)
This commit is contained in:
1 parent
6e21642deb
commit
c14873a8a5
1 file changed
+3
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user