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)
polyfill custom_data.full_hd inside media modal
· a9d0d262
Marcelo Rivera
authored
Nov 06, 2019
and
Mark Harding
committed
Nov 06, 2019
a9d0d262
Merge branch 'fix/media-modal-issue-2217' into 'master'
· 4ed2cde2
Mark Harding
authored
Nov 06, 2019
polyfill custom_data.full_hd inside media modal See merge request
!641
4ed2cde2
Hide whitespace changes
Inline
Side-by-side
src/app/modules/media/modal/modal.component.ts
View file @
4ed2cde2
...
...
@@ -213,6 +213,9 @@ export class MediaModalComponent implements OnInit, OnDestroy {
this
.
contentType
=
'
video
'
;
this
.
title
=
this
.
entity
.
title
;
this
.
entity
.
entity_guid
=
this
.
entity
.
guid
;
this
.
entity
.
custom_data
=
{
full_hd
:
this
.
entity
.
flags
.
full_hd
,
};
break
;
case
'
image
'
:
this
.
contentType
=
'
image
'
;
...
...