Skip to content

Commit 87425b3

Browse files
committed
Improvements
1 parent 7c53ccb commit 87425b3

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/components/LicenseText.vue

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
{{ workTitle }}
1515
</component>
1616
</template>
17-
<template #yearOfCreation>
18-
<component
19-
:is="'span'"
20-
>
21-
{{ yearOfCreation }}
22-
</component>
23-
</template>
2417
<template #creator>
2518
<component
2619
:is="isCreatorLink ? 'a' : 'span'"
@@ -112,15 +105,9 @@ export default {
112105
},
113106
workTitle() {
114107
return this.attributionDetails.workTitle
115-
? this.attributionDetails.workTitle
108+
? `${this.attributionDetails.workTitle} © ${this.attributionDetails.yearOfCreation}`
116109
: this.$t('license-use.richtext.workTitle')
117110
},
118-
yearOfCreation() {
119-
console.log(this.attributionDetails.yearOfCreation)
120-
return this.attributionDetails.yearOfCreation
121-
? this.attributionDetails.yearOfCreation
122-
: ''
123-
},
124111
workUrl() {
125112
const { workUrl } = this.attributionDetails
126113
if (workUrl && !workUrl.startsWith('http')) {

0 commit comments

Comments
 (0)