Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #522 from sanger/GPL-828-2-remove-redundant-todo-n…
Browse files Browse the repository at this point in the history
…otes

GPL-828-2: Remove TODO notes that are no longer going to be implemented
  • Loading branch information
sdjmchattie committed Mar 23, 2023
2 parents c0f1ba1 + bfe11a4 commit e89da93
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion pages/print_labels/ad_hoc_plate.vue
Expand Up @@ -51,7 +51,6 @@ export default {
printers: {
type: Array,
default() {
// TODO: GPL-828-2 - Can we get this list from SPrint instead of setting it in config
return config.publicRuntimeConfig.printers.split(',')
},
},
Expand Down
1 change: 0 additions & 1 deletion pages/print_labels/control_plates.vue
Expand Up @@ -57,7 +57,6 @@ export default {
printers: {
type: Array,
default() {
// TODO: GPL-828-2 - Can we get this list from SPrint instead of setting it in config
return config.publicRuntimeConfig.printers.split(',')
},
},
Expand Down
1 change: 0 additions & 1 deletion pages/print_labels/destination_plates.vue
Expand Up @@ -53,7 +53,6 @@ export default {
printers: {
type: Array,
default() {
// TODO: GPL-828-2 - Can we get this list from SPrint instead of setting it in config
return config.publicRuntimeConfig.printers.split(',')
},
},
Expand Down
5 changes: 3 additions & 2 deletions pages/print_labels/reagent_aliquots.vue
Expand Up @@ -68,7 +68,6 @@ export default {
printers: {
type: Array,
default() {
// TODO: GPL-828-2 - Can we get this list from SPrint instead of setting it in config
return config.publicRuntimeConfig.printers.split(',')
},
},
Expand All @@ -90,10 +89,12 @@ export default {
return this.$refs.statusAlert?.isBusy
},
isValid() {
return this.barcode.length > 0 &&
return (
this.barcode.length > 0 &&
this.firstLineText.length > 0 &&
this.numberOfLabels >= 1 &&
this.numberOfLabels <= 100
)
},
},
methods: {
Expand Down
1 change: 0 additions & 1 deletion pages/print_labels/source_plates.vue
Expand Up @@ -75,7 +75,6 @@ export default {
printers: {
type: Array,
default() {
// TODO: GPL-828-2 - Can we get this list from SPrint instead of setting it in config
return config.publicRuntimeConfig.printers.split(',')
},
},
Expand Down

0 comments on commit e89da93

Please sign in to comment.