No automatic signout
Voucher basic working running tables shifted to cards from buttons, this gives us immense styling oportunities
This commit is contained in:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user