No automatic signout

Voucher basic working
running tables shifted to cards from buttons, this gives us immense styling oportunities
This commit is contained in:
Amritanshu
2019-07-12 12:36:38 +05:30
parent 4513e8b263
commit bcad4cdae3
31 changed files with 1085 additions and 713 deletions

View File

@ -34,6 +34,14 @@ export class TableService {
);
}
running(): Observable<Table[]> {
const options = {params: new HttpParams().set('a', 'true')};
return <Observable<Table[]>>this.http.get<Table[]>(url, options)
.pipe(
catchError(this.log.handleError(serviceName, 'running'))
);
}
save(tables: Table): Observable<Table> {
return <Observable<Table>>this.http.post<Table>(`${url}/new`, tables, httpOptions)
.pipe(