Refactor SDK Api Changes Side affects ...
This commit is contained in:
@@ -32,7 +32,7 @@ import {
|
||||
XButtonType,
|
||||
XIconIdentifier,
|
||||
} from 'x-framework-components';
|
||||
import { XFileDto } from 'x-mabsut-api-sdk';
|
||||
import { XFileDto } from 'x-saherelm-api-sdk';
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { SafeUrl } from '@angular/platform-browser';
|
||||
import { FileLocalizationsResourceIDs } from '../v-file.configs';
|
||||
@@ -578,7 +578,7 @@ export class VMediaComponent extends VBaseInCardComponent {
|
||||
this.detectType(value);
|
||||
this.safeUrl =
|
||||
this.sharedService.managerService.securityService.toSafeURL(
|
||||
URL.createObjectURL(value)
|
||||
URL.createObjectURL(value),
|
||||
);
|
||||
} else if (isXFileBlob(this.src)) {
|
||||
//
|
||||
@@ -601,7 +601,7 @@ export class VMediaComponent extends VBaseInCardComponent {
|
||||
this.detectType(value);
|
||||
this.url = undefined;
|
||||
this.safeUrl = this.sharedService.managerService.securityService.toSafeURL(
|
||||
URL.createObjectURL(value)
|
||||
URL.createObjectURL(value),
|
||||
);
|
||||
this.info = value.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user