Skip to content

Commit cd4927b

Browse files
committed
run prettier
1 parent efad85d commit cd4927b

File tree

1 file changed

+10
-6
lines changed
  • openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer

1 file changed

+10
-6
lines changed

openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,13 @@ export default {
478478
// If we're passed in the route then manually call packetChanged to update
479479
if (this.$route.params.target && this.$route.params.packet) {
480480
// Initial position of chooser should be correct so call packetChanged for it
481-
await this.packetChanged({
482-
targetName: this.$route.params.target.toUpperCase(),
483-
packetName: this.$route.params.packet.toUpperCase(),
484-
}, true)
481+
await this.packetChanged(
482+
{
483+
targetName: this.$route.params.target.toUpperCase(),
484+
packetName: this.$route.params.packet.toUpperCase(),
485+
},
486+
true,
487+
)
485488
} else {
486489
if (config.target && config.packet) {
487490
// Chooser probably won't be at the right packet so need to refresh
@@ -531,10 +534,11 @@ export default {
531534
return false
532535
}
533536
},
534-
async packetChanged(event, force=false) {
537+
async packetChanged(event, force = false) {
535538
if (
536539
this.targetName === event.targetName &&
537-
this.packetName === event.packetName && !force
540+
this.packetName === event.packetName &&
541+
!force
538542
) {
539543
return // No change
540544
}

0 commit comments

Comments
 (0)