mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
build sucessuly done after config shared content
This commit is contained in:
@@ -287,8 +287,11 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
this.filesSizeSum = this.filesSizeSum + element.size
|
||||
if (this.fileSizeToMB(this.filesSizeSum) <= 20) {
|
||||
console.log('pass size verificartion')
|
||||
if (this.checkFileType.checkFileType(element.mimeType) == 'image' || this.checkFileType.checkFileType(element.mimeType) == 'video') {
|
||||
let resultUrl = decodeURIComponent(element.path);
|
||||
console.log('pass type verification ', resultUrl)
|
||||
|
||||
try {
|
||||
Filesystem.readFile({ path: resultUrl })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user