Skip to content

Commit

Permalink
Fix track export options indexing error
Browse files Browse the repository at this point in the history
  • Loading branch information
hardiesoft committed Oct 18, 2021
1 parent b93047d commit 8cbe003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cptv-player-vue",
"version": "1.2.6",
"version": "1.2.7",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --target lib --name CptvPlayerVue ./src/CptvPlayer.vue",
Expand Down
2 changes: 1 addition & 1 deletion src/CptvPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ export default class CptvPlayerComponent extends Vue {
if (this.currentTrack && this.currentTrack.trackId === Number(trackId)) {
if (
!trackExportOptions ||
trackExportOptions[Number(trackId)].displayInExport
trackExportOptions.find((options) => options.trackId === Number(trackId))?.displayInExport
) {
const box = trackBox as TrackBox;
this.drawRectWithText(
Expand Down

0 comments on commit 8cbe003

Please sign in to comment.