S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
kj
/
vendor-app
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
Add menu item API conneciton
master
kj1352
před 4 roky
rodič
50be26d184
revize
f6058102c2
2 změnil soubory
, kde provedl
4 přidání
a
24 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+1
-1
src/app/menu-items/menu-items.component.html
+3
-23
src/app/menu-items/menu-items.component.ts
+ 1
- 1
src/app/menu-items/menu-items.component.html
Zobrazit soubor
@@ -82,7 +82,7 @@
</li>
<li>
<label> Waiting Time (In Minutes) </label>
<input type="
number" [(ngModel)]="newItem.wait_duration.minutes
">
<input type="
text" [(ngModel)]="newItem.wait_duration
">
</li>
</ul>
+ 3
- 23
src/app/menu-items/menu-items.component.ts
Zobrazit soubor
@@ -25,17 +25,7 @@ export class MenuItemsComponent implements OnInit {
menu_item_name: string,
rating: number,
soft_delete: boolean,
wait_duration: {
date: number,
day: number,
hours: number,
minutes: number,
month: number,
seconds: number,
time: number,
timezoneOffset: number,
year: number,
},
wait_duration: string,
} = {
image_url: '',
is_available: false,
@@ -45,18 +35,8 @@ export class MenuItemsComponent implements OnInit {
item_price: null,
menu_item_name: '',
rating: 3,
soft_delete: false,
wait_duration: {
date: 0,
day: 0,
hours: 0,
minutes: 0,
month: 0,
seconds: 0,
time: 0,
timezoneOffset: 0,
year: 0,
}
soft_delete: false,
wait_duration:"00:30:00"
};
constructor(
Zapsat
Náhled
Načítá se…
Zrušit
Uložit