mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-15 12:16:22 +00:00
Merge remote-tracking branch 'rarysson/update-year-on-footer' into develop
This commit is contained in:
commit
34d0922bcc
1 changed files with 5 additions and 1 deletions
|
|
@ -224,7 +224,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-5 text-center text-md-left">
|
||||
© 2022 Habitica. All rights reserved.
|
||||
© {{ currentYear }} Habitica. All rights reserved.
|
||||
<div
|
||||
v-if="!IS_PRODUCTION && isUserLoaded"
|
||||
class="debug float-left"
|
||||
|
|
@ -512,6 +512,10 @@ export default {
|
|||
if (!this.user) return null;
|
||||
return `${base}?uuid=${this.user._id}`;
|
||||
},
|
||||
currentYear () {
|
||||
const currentDate = new Date();
|
||||
return currentDate.getFullYear();
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
plusTenHealth () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue