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 (2)
Removing diagnostic comment
· 0f8e4a4b
Brian Hatchet
authored
Jul 30, 2019
0f8e4a4b
Adding activity service to whatever component implements activity.html
· baa22ca9
Brian Hatchet
authored
Jul 30, 2019
baa22ca9
Hide whitespace changes
Inline
Side-by-side
src/app/modules/legacy/components/buttons/comment.ts
View file @
baa22ca9
...
...
@@ -31,9 +31,7 @@ export class CommentButton implements OnInit, OnDestroy {
protected
cd
:
ChangeDetectorRef
)
{
}
ngOnInit
()
{
console
.
log
(
'
comment button init
'
);
}
ngOnInit
()
{
}
ngOnDestroy
()
{
}
...
...
src/app/modules/legacy/components/cards/activity/preview.ts
View file @
baa22ca9
...
...
@@ -4,6 +4,7 @@ import { Client } from '../../../../../services/api';
import
{
Session
}
from
'
../../../../../services/session
'
;
import
{
AttachmentService
}
from
'
../../../../../services/attachment
'
;
import
{
ActivityService
}
from
'
../../../../../common/services/activity.service
'
;
@
Component
({
moduleId
:
module
.
id
,
...
...
@@ -13,6 +14,7 @@ import { AttachmentService } from '../../../../../services/attachment';
host
:
{
class
:
'
mdl-shadow--8dp
'
},
providers
:
[
ActivityService
],
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
})
...
...
src/app/modules/legacy/components/cards/remind/remind.ts
View file @
baa22ca9
...
...
@@ -3,11 +3,13 @@ import { Component, ChangeDetectionStrategy, ChangeDetectorRef, EventEmitter, In
import
{
Client
}
from
'
../../../../../services/api
'
;
import
{
Session
}
from
'
../../../../../services/session
'
;
import
{
AttachmentService
}
from
'
../../../../../services/attachment
'
;
import
{
ActivityService
}
from
'
../../../../../common/services/activity.service
'
;
@
Component
({
moduleId
:
module
.
id
,
selector
:
'
minds-remind
'
,
inputs
:
[
'
object
'
,
'
_events: events
'
],
providers
:
[
ActivityService
],
templateUrl
:
'
../activity/activity.html
'
,
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
})
...
...