mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Merge branch 'feature/viewer-attachment' of https://bitbucket.org/equilibriumito/gabinete-digital-fo into feature/viewer-attachment
This commit is contained in:
@@ -116,7 +116,7 @@ export class PublicationsPage implements OnInit {
|
||||
if (event instanceof NavigationEnd && event.url == pathname) {
|
||||
console.log('=================', this.publicationFolderService.gotoAction)
|
||||
this.getActions();
|
||||
this.checkQueryParameter()
|
||||
// this.checkQueryParameter()
|
||||
}
|
||||
this.intent = window['sharedContent']
|
||||
});
|
||||
@@ -381,7 +381,8 @@ export class PublicationsPage implements OnInit {
|
||||
});
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.doRefresh(event);
|
||||
this.intent = window["sharedContent"]
|
||||
// this.doRefresh(event);
|
||||
this.checkQueryParameter();
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
@@ -171,7 +171,7 @@ export class PublicationFromMvService {
|
||||
if(upload) {
|
||||
this.form.Files = this.form.Files.map((e:PublicationAttachmentEntity) => {
|
||||
if(e.FileType == 'video' && e.toUpload) {
|
||||
e.OriginalFileName = e.chucksManager.path.replace(".mp4", "")
|
||||
e.OriginalFileName = e.chucksManager?.path?.replace(".mp4", "") || e.OriginalFileName
|
||||
e.FileExtension = e.FileExtension || "mp4"
|
||||
e.Base64 = ''
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ import { environment as oaprDev } from './suport/oapr'
|
||||
import { DevDev } from './suport/dev'
|
||||
|
||||
|
||||
export const environment: Environment = DevDev
|
||||
export const environment: Environment = oaprDev
|
||||
|
||||
Reference in New Issue
Block a user