diff options
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r-- | src/data/things/track.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 69fd31bc..10585ade 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -789,6 +789,22 @@ export class Track extends Thing { ]; } + countOwnContributionInContributionTotals(_contrib) { + if (this.isSecondaryRelease) { + return false; + } + + return true; + } + + countOwnContributionInDurationTotals(_contrib) { + if (this.isSecondaryRelease) { + return false; + } + + return true; + } + [inspect.custom](depth) { const parts = []; |