Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (1)
Do not show post if deleted.
· a3316300
Ben
authored
Sep 12, 2019
a3316300
Expand all
Hide whitespace changes
Inline
Side-by-side
src/app/modules/legacy/components/cards/activity/activity.html
View file @
a3316300
This diff is collapsed.
Click to expand it.
src/app/modules/legacy/components/cards/activity/activity.ts
View file @
a3316300
...
...
@@ -81,7 +81,7 @@ export class Activity implements OnInit {
editing
:
boolean
=
false
;
@
Input
()
hideTabs
:
boolean
;
deleted
:
boolean
=
false
;
_delete
:
EventEmitter
<
any
>
=
new
EventEmitter
();
commentsOpened
:
EventEmitter
<
any
>
=
new
EventEmitter
();
@
Input
()
focusedCommentGuid
:
string
;
...
...
@@ -263,6 +263,7 @@ export class Activity implements OnInit {
$event
.
completed
.
emit
(
0
);
}
this
.
_delete
.
next
(
this
.
activity
);
this
.
deleted
=
true
;
})
.
catch
(
e
=>
{
if
(
$event
.
inProgress
)
{
...
...
@@ -538,9 +539,13 @@ export class Activity implements OnInit {
this
.
activity
.
modal_source_url
=
this
.
router
.
url
;
this
.
overlayModal
.
create
(
MediaModalComponent
,
this
.
activity
,
{
class
:
'
m-overlayModal--media
'
,
})
.
create
(
MediaModalComponent
,
{
entity
:
this
.
activity
},
{
class
:
'
m-overlayModal--media
'
,
}
)
.
present
();
}
...
...