Skip to content
Next
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
803
Merge Requests
50
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
9de57d28
Commit
9de57d28
authored
13 minutes ago
by
Emiliano Balbuena
Browse files
Options
Download
(cs): Lint (ii)
parent
cb2efedd
hotfix/mass-nsfw-xhr-bug
1 merge request
!651
(fix): Mass NSFW XHR trigger when admins view posts
Pipeline
#95114819
running with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
19 deletions
+15
-19
src/app/common/components/autocomplete/index.ts
View file @
9de57d28
export
*
from
'
./text-input-autocomplete.module
'
;
export
{
TextInputAutocompleteMenuComponent
,
}
from
'
./text-input-autocomplete-menu.component
'
;
export
{
TextInputAutocompleteMenuComponent
}
from
'
./text-input-autocomplete-menu.component
'
;
This diff is collapsed.
src/app/common/components/featured-content/featured-content.component.ts
View file @
9de57d28
...
...
@@ -79,9 +79,7 @@ export class FeaturedContentComponent implements OnInit {
component
);
const
componentRef
:
ComponentRef
<
any
>
=
this
.
dynamicHost
.
viewContainerRef
.
createComponent
(
const
componentRef
:
ComponentRef
<
any
>
=
this
.
dynamicHost
.
viewContainerRef
.
createComponent
(
componentFactory
,
void
0
,
this
.
injector
...
...
This diff is collapsed.
src/app/common/services/update-markers.service.ts
View file @
9de57d28
...
...
@@ -81,9 +81,10 @@ export class UpdateMarkersService {
if
(
!
opts
.
marker
)
throw
'
marker must be set
'
;
if
(
!
opts
.
noReply
)
{
this
.
http
.
post
(
'
api/v2/notifications/markers/read
'
,
opts
)
.
subscribe
(
res
=>
null
,
err
=>
console
.
warn
(
err
));
this
.
http
.
post
(
'
api/v2/notifications/markers/read
'
,
opts
).
subscribe
(
res
=>
null
,
err
=>
console
.
warn
(
err
)
);
}
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
...
...
This diff is collapsed.
src/app/modules/groups/members/members.spec.ts
View file @
9de57d28
...
...
@@ -132,10 +132,9 @@ describe('GroupsMembersModuleComponent', () => {
tick
();
expect
(
membersComponent
.
load
).
toHaveBeenCalled
();
expect
(
clientMock
.
get
).
toHaveBeenCalledWith
(
'
api/v1/groups/membership/11111
'
,
{
limit
:
21
}
);
expect
(
clientMock
.
get
).
toHaveBeenCalledWith
(
'
api/v1/groups/membership/11111
'
,
{
limit
:
21
});
expect
(
membersComponent
.
members
).
toEqual
(
successfulGroupResponse
.
members
);
}));
...
...
This diff is collapsed.
src/app/modules/newsfeed/feeds/entity.component.ts
View file @
9de57d28
...
...
@@ -61,9 +61,9 @@ export class NewsfeedEntityComponent {
this
.
getComponent
(
this
.
entity
.
type
)
);
let
componentRef
:
ComponentRef
<
an
y
>
=
this
.
host
.
viewContainerRef
.
createComponent
(
componentFactory
);
let
componentRef
:
ComponentRef
<
any
>
=
this
.
host
.
viewContainerRef
.
createComponent
(
componentFactor
y
);
componentRef
.
instance
.
entity
=
this
.
entity
;
componentRef
.
changeDetectorRef
.
detectChanges
();
}
...
...
This diff is collapsed.
src/app/modules/pro/settings/settings.component.ts
View file @
9de57d28
...
...
@@ -153,9 +153,9 @@ export class ProSettingsComponent implements OnInit, OnDestroy {
getPreviewAssetSrc
(
type
:
string
):
string
|
SafeUrl
{
if
(
this
.
settings
[
type
])
{
if
(
!
this
.
settings
[
type
].
_mindsBlobUrl
)
{
this
.
settings
[
type
].
_mindsBlobUrl
=
URL
.
createObjectURL
(
this
.
settings
[
t
yp
e
]
as
File
);
this
.
settings
[
type
].
_mindsBlobUrl
=
URL
.
createObjectURL
(
t
his
.
settings
[
type
]
as
Fil
e
);
}
return
this
.
sanitizer
.
bypassSecurityTrustUrl
(
...
...
This diff is collapsed.
Please
register
or
sign in
to comment