Bugfix bundle title

This commit is contained in:
Axel 2023-05-16 20:27:40 +02:00
parent 810c05439e
commit 9a03d54fc1
Signed by: axel
GPG key ID: 73C0A5961B6BC740

View file

@ -23,7 +23,7 @@
bundle.title = 'untitled' bundle.title = 'untitled'
} }
bundle.title += ' - '+Object.keys(bundle.files).length+' {{ __('app.files') }} - {{ __('app.created-at') }} '+moment.unix(bundle.created_at).fromNow() //bundle.title += ' - '+Object.keys(bundle.files).length+' {{ __('app.files') }} - {{ __('app.created-at') }} '+moment.unix(bundle.created_at).fromNow()
if (bundle.expires_at != null && moment.unix(bundle.expires_at).isBefore(moment())) { if (bundle.expires_at != null && moment.unix(bundle.expires_at).isBefore(moment())) {
this.bundles.expired.push(bundle) this.bundles.expired.push(bundle)