feat: add temperatures to gcode files list (#1017)

Co-authored-by: th33xitus <th33xitus@googlemail.com>
This commit is contained in:
Stefan Dejandth33xitus authored and GitHub committed 2022-08-12 10:21:05 +02:00
1 parent f55b58a2a9
commit 1f71d2dbbc
4 files changed
+40 -10

No files matched your search

+22 -1
View File
@@ -544,7 +544,7 @@ interface tableColumnSetting {
sortable?: boolean
class?: string
pos?: number
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'time'
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'temp' | 'time'
}
@Component({
@@ -716,6 +716,27 @@ export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) {
class: 'text-no-wrap',
outputType: 'length',
},
{
text: this.$t('Files.ExtruderTemp').toString(),
value: 'first_layer_extr_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.BedTemp').toString(),
value: 'first_layer_bed_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.ChamberTemp').toString(),
value: 'chamber_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.FilamentName').toString(),
value: 'filament_name',