Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
386
Merge Requests
61
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
fd261feb
Commit
fd261feb
authored
21 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): remind preview cdn url - fixes
#2531
parent
44667f0d
master
epic/composer
epic/wallet-80
No related merge requests found
Pipeline
#114670718
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/app/modules/legacy/components/cards/activity/preview.ts
View file @
fd261feb
...
...
@@ -10,6 +10,7 @@ import { Session } from '../../../../../services/session';
import
{
AttachmentService
}
from
'
../../../../../services/attachment
'
;
import
{
ActivityService
}
from
'
../../../../../common/services/activity.service
'
;
import
{
ConfigsService
}
from
'
../../../../../common/services/configs.service
'
;
@
Component
({
moduleId
:
module
.
id
,
...
...
@@ -23,6 +24,10 @@ import { ActivityService } from '../../../../../common/services/activity.service
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
})
export
class
ActivityPreview
{
readonly
cdnUrl
:
string
;
readonly
cdnAssetsUrl
:
string
;
readonly
siteUrl
:
string
;
activity
:
any
;
hideTabs
:
boolean
;
...
...
@@ -40,9 +45,12 @@ export class ActivityPreview {
public
session
:
Session
,
public
client
:
Client
,
public
attachment
:
AttachmentService
,
private
_changeDetectorRef
:
ChangeDetectorRef
configs
:
ConfigsService
)
{
this
.
hideTabs
=
true
;
this
.
cdnUrl
=
configs
.
get
(
'
cdn_url
'
);
this
.
cdnAssetsUrl
=
configs
.
get
(
'
cdn_assets_url
'
);
this
.
siteUrl
=
configs
.
get
(
'
site_url
'
);
}
set
object
(
value
:
any
)
{
...
...
This diff is collapsed.
Please
register
or
sign in
to comment