mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
error crieating publication on tablet
This commit is contained in:
@@ -729,11 +729,12 @@ export class NewPublicationPage implements OnInit {
|
|||||||
data.forEach(async element => {
|
data.forEach(async element => {
|
||||||
this.filesSizeSum = this.filesSizeSum + element.size
|
this.filesSizeSum = this.filesSizeSum + element.size
|
||||||
if (this.fileSizeToMB(this.filesSizeSum) <= 20) {
|
if (this.fileSizeToMB(this.filesSizeSum) <= 20) {
|
||||||
if(this.platform.is('ios'))
|
if(this.platform.is('ios')) {
|
||||||
this.recordevideoIos(element.fullPath)
|
this.recordevideoIos(element.fullPath)
|
||||||
} else {
|
} else {
|
||||||
this.recordVideoPc(element.fullPath)
|
this.recordVideoPc(element.fullPath)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
if (this.publicationFormMV.form.Files.length === 0)
|
if (this.publicationFormMV.form.Files.length === 0)
|
||||||
this.filesSizeSum = 0
|
this.filesSizeSum = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user