mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
prevent from reloading igrame
This commit is contained in:
@@ -53,8 +53,12 @@ export class ViewerAttachmentPage implements OnInit {
|
||||
async clickDocument(viewerAttachment: ViewerAttachment, i) {
|
||||
|
||||
this.draft = this.isSelectedAttachmentIsDraft(this.taskViewerAttachment[this.selectedIndex])
|
||||
|
||||
let count = 0
|
||||
|
||||
if(this.selectedIndex == i) {
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
setTimeout(async ()=> {
|
||||
this.selectedIndex = i;
|
||||
|
||||
Reference in New Issue
Block a user