|
|
@@ -150,13 +150,8 @@ export class MainComponent {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- buscarArchivo(id: string, nombre: string) {
|
|
|
- let separar = nombre.split('.');
|
|
|
- let extension = separar[separar.length - 1];
|
|
|
- let idF = `${id}.${extension}`;
|
|
|
- return this.circularService.getFile(idF).subscribe((response: any) => {
|
|
|
- window.open(response, '_blank');
|
|
|
- })
|
|
|
+ buscarArchivo(ruta: string) {
|
|
|
+ window.open(ruta, '_blank');
|
|
|
}
|
|
|
|
|
|
//traer el número de la semana actual del año
|