Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ability to add history items to job queue #1778

Merged
merged 14 commits into from
Feb 15, 2024
Merged
Prev Previous commit
Next Next commit
feat: Remove dead code & adjust filename creation
Signed-off-by: Michał Dziekoński <michal.dziekonski+github@gmail.com>
  • Loading branch information
mdziekon committed Feb 15, 2024
commit db148f4c6a50c3763b3d14f0cb8e12105c8ee8f7
14 changes: 4 additions & 10 deletions src/components/panels/GcodefilesPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1219,8 +1219,11 @@ export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) {
}

openAddBatchToQueueDialog(item: FileStateGcodefile) {
let filename = [this.currentPath, item.filename].join('/')
if (filename.startsWith('/')) filename = filename.slice(1)

this.dialogAddBatchToQueue.isVisible = true
this.dialogAddBatchToQueue.filename = item.filename
this.dialogAddBatchToQueue.filename = filename
}

closeAddBatchToQueueDialog() {
Expand Down Expand Up @@ -1485,15 +1488,6 @@ export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) {
}
</script>

<style scoped>
._spin_button_group {
width: 24px;
margin-top: -6px;
margin-left: -6px;
margin-bottom: -6px;
}
</style>

<style>
/*noinspection CssUnusedSymbol*/
.files-table .v-data-table-header__icon {
Expand Down