SUPPORT-9497: refactor
This commit is contained in:
parent
30ae19cb94
commit
f2788e1d5e
1 changed files with 0 additions and 2 deletions
|
|
@ -4,12 +4,10 @@ import {CookieService} from "ngx-cookie";
|
|||
export class FileUploadChecker extends Behavior {
|
||||
private cookieService: CookieService;
|
||||
|
||||
|
||||
initialize() {
|
||||
this.cookieService = this.injector.get(CookieService);
|
||||
}
|
||||
|
||||
|
||||
@Visible()
|
||||
public fileUploadAllowed(): boolean {
|
||||
return this.cookieService.get("upload_allowed") != null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue