change tag retrive's timeout

This commit is contained in:
root 2017-07-04 10:03:38 +00:00
parent b51b3ea5ac
commit f2d02848db

View File

@ -167,7 +167,7 @@ export class TagComponent implements OnInit, OnDestroy {
this.loading = false;
});
let hnd = setInterval(() => this.ref.markForCheck(), 100);
setTimeout(() => clearInterval(hnd), 1000);
setTimeout(() => clearInterval(hnd), 5000);
}
deleteTag(tag: Tag) {
@ -272,4 +272,4 @@ export class TagComponent implements OnInit, OnDestroy {
this.textInput.nativeElement.select();
}
}
}
}