Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F13522493
status_popover.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
663 B
Referenced Files
None
Subscribers
None
status_popover.js
View Options
import
{
find
}
from
'lodash'
const
StatusPopover
=
{
name
:
'StatusPopover'
,
props
:
[
'statusId'
],
data
()
{
return
{
error
:
false
}
},
computed
:
{
status
()
{
return
find
(
this
.
$store
.
state
.
statuses
.
allStatuses
,
{
id
:
this
.
statusId
})
}
},
components
:
{
Status
:
()
=>
import
(
'../status/status.vue'
),
Popover
:
()
=>
import
(
'../popover/popover.vue'
)
},
methods
:
{
enter
()
{
if
(
!
this
.
status
)
{
this
.
$store
.
dispatch
(
'fetchStatus'
,
this
.
statusId
)
.
then
(
data
=>
(
this
.
error
=
false
))
.
catch
(
e
=>
(
this
.
error
=
true
))
}
}
}
}
export
default
StatusPopover
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 9:07 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
700292
Default Alt Text
status_popover.js (663 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment