mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
wip
This commit is contained in:
parent
db086d6fd4
commit
ddb82f291f
@ -318,14 +318,14 @@
|
|||||||
this.mixin('user-preview');
|
this.mixin('user-preview');
|
||||||
this.mixin('NotImplementedException');
|
this.mixin('NotImplementedException');
|
||||||
|
|
||||||
this.post = this.opts.post
|
this.post = this.opts.post;
|
||||||
this.is-repost = this.post.repost? and !this.post.text?
|
this.isRepost = this.post.repost != null && this.post.text == null;
|
||||||
this.p = if @is-repost then this.post.repost else this.post
|
this.p = this.isRepost ? this.post.repost : this.post;
|
||||||
|
|
||||||
this.title = @date-stringify this.p.created_at
|
this.title = this.dateStringify(this.p.created_at);
|
||||||
|
|
||||||
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id
|
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id;
|
||||||
this.is-detail-opened = false
|
this.isDetailOpened = false;
|
||||||
|
|
||||||
this.on('mount', () => {
|
this.on('mount', () => {
|
||||||
if this.p.text?
|
if this.p.text?
|
||||||
|
Loading…
Reference in New Issue
Block a user