feat: Actualización general de la aplicación
- Contratos, tarjetas, postulaciones, categorías y reportes - Servicios: auth, ichamba, env, language, firebase, interceptor - Guards, modelos, componentes y páginas de verificación - Configuración: angular.json, tsconfig, polyfills, environments - Capacitor: capacitor.config.json y android settings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@ import { Browser } from '@capacitor/browser';
|
||||
selector: 'app-current',
|
||||
templateUrl: './current.page.html',
|
||||
styleUrls: ['./current.page.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class CurrentPage implements OnInit {
|
||||
|
||||
@@ -35,7 +36,7 @@ export class CurrentPage implements OnInit {
|
||||
this.getpostulations();
|
||||
}
|
||||
|
||||
refresh(event) {
|
||||
refresh(event: any) {
|
||||
this.ichambaService.getPostulation().subscribe(
|
||||
data => {
|
||||
this.postulations = data;
|
||||
@@ -63,10 +64,10 @@ export class CurrentPage implements OnInit {
|
||||
|
||||
addpostulation(id: String) {
|
||||
this.ichambaService.setPostulation(id).subscribe(
|
||||
data => {
|
||||
(data: any) => {
|
||||
this.getpostulations();
|
||||
this.alertService.presentToast(data['message']);
|
||||
}, error => {
|
||||
}, (error: any) => {
|
||||
this.alertService.presentToast("Por favor contacte a soporte técnico, Estatus:" + error['status']);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user