How to use isSpecial method in wpt

Best JavaScript code snippet using wpt

menu.js

Source:menu.js Github

copy

Full Screen

1import { GET_MENU } from "../actions/menuActions";2const initialState = {3 loading: false,4 errorMessage: null,5 menu: [6 {7 id: 1,8 image: "salad",9 name: "Salads",10 description: "",11 isImage: 4,12 iCnt: 3,13 items: [14 {15 id: 1,16 name: "Green Salad",17 description: "Freshly cut vegetables",18 price: 10,19 nonVeg: "No",20 icon_id: "",21 isSpecial: "No",22 topping_id: "",23 isImage: 0,24 type: "i",25 liked: 0,26 likes: 7,27 count: 0,28 },29 {30 id: 2,31 name: "Brinjol & Cottage cheese salad",32 description: "Deep fried brinjol and cottage cheese",33 price: 15,34 nonVeg: "No",35 icon_id: "",36 isSpecial: "No",37 topping_id: "",38 isImage: 0,39 type: "i",40 liked: 0,41 likes: 6,42 count: 0,43 },44 {45 id: 3,46 name: "Chicken Tikka Salad",47 description: "",48 price: 15,49 nonVeg: "No",50 icon_id: '["1"]',51 isSpecial: "No",52 topping_id: "",53 isImage: 0,54 type: "i",55 liked: 0,56 likes: 5,57 count: 0,58 },59 ],60 },61 {62 id: 2,63 image: "soup",64 name: "Soups",65 description: "",66 isImage: 3,67 iCnt: 5,68 items: [69 {70 id: 4,71 name: "Dal soup",72 description: "Freshly boiled Indian lentils with mix vegetables",73 price: 12,74 nonVeg: "No",75 icon_id: "",76 isSpecial: "No",77 topping_id: "",78 isImage: 0,79 type: "i",80 liked: 0,81 likes: 11,82 count: 0,83 },84 {85 id: 5,86 name: "Tomato Soup",87 description: "Tomato soup",88 price: 12,89 nonVeg: "No",90 icon_id: "",91 isSpecial: "No",92 topping_id: "",93 isImage: 0,94 type: "i",95 liked: 0,96 likes: 4,97 count: 0,98 },99 {100 id: 6,101 name: "Mushroom Palak Soup",102 description: "Freshly cooked mushroom and spinach soup",103 price: 14,104 nonVeg: "No",105 icon_id: "",106 isSpecial: "No",107 topping_id: "",108 isImage: 0,109 type: "i",110 liked: 0,111 likes: 3,112 count: 0,113 },114 {115 id: 7,116 name: "Chicken Soup",117 description: "Chicken soup with Indian herbs",118 price: 14,119 nonVeg: "No",120 icon_id: "",121 isSpecial: "No",122 topping_id: "",123 isImage: 0,124 type: "i",125 liked: 0,126 likes: 4,127 count: 0,128 },129 {130 id: 8,131 name: "Mutton Soup",132 description: "Mutton soup with Indian herbs",133 price: 16,134 nonVeg: "No",135 icon_id: "",136 isSpecial: "No",137 topping_id: "",138 isImage: 0,139 type: "i",140 liked: 0,141 likes: 3,142 count: 0,143 },144 ],145 },146 {147 id: 3,148 name: "Vegetarian Snacks",149 image: "veg_food",150 description: "",151 isImage: 3,152 iCnt: 9,153 items: [154 {155 id: 9,156 name: "Samosa (2 pcs.)",157 description:158 "Crispy puffs stuffed with spicy potatoes and green peas",159 price: 12,160 nonVeg: "No",161 icon_id: "",162 isSpecial: "No",163 topping_id: "",164 isImage: 0,165 type: "i",166 liked: 0,167 likes: 22,168 count: 0,169 },170 {171 id: 10,172 name: "Paneer Pakora (6 szt. / 6 pcs.)",173 description: "Indian cottage cheese battered and deep fried",174 price: 16,175 nonVeg: "No",176 icon_id: "",177 isSpecial: "No",178 topping_id: "",179 isImage: 0,180 type: "i",181 liked: 0,182 likes: 13,183 count: 0,184 },185 {186 id: 11,187 name: "Mix veg. Pakora (8 pcs.)",188 description: "Mix vegetables battered and deep fried",189 price: 16,190 nonVeg: "No",191 icon_id: "",192 isSpecial: "No",193 topping_id: "",194 isImage: 0,195 type: "i",196 liked: 0,197 likes: 3,198 count: 0,199 },200 {201 id: 12,202 name: "Onion Bhajia (6 pcs.)",203 description: "Onion slices battered and deep fried",204 price: 15,205 nonVeg: "No",206 icon_id: "",207 isSpecial: "No",208 topping_id: "",209 isImage: 0,210 type: "i",211 liked: 0,212 likes: 4,213 count: 0,214 },215 {216 id: 13,217 name: "Chat Patta Paneer",218 description:219 "Cubes of Indian cottage cheese tossed with Indian spices",220 price: 16,221 nonVeg: "No",222 icon_id: '["1"]',223 isSpecial: "No",224 topping_id: "",225 isImage: 0,226 type: "i",227 liked: 0,228 likes: 3,229 count: 0,230 },231 {232 id: 14,233 name: "Paneer Tikka",234 description:235 "Chunks of cottage cheese marinated with curd and indian spices roasted in clay oven",236 price: 22,237 nonVeg: "No",238 icon_id: '["5"]',239 isSpecial: "No",240 topping_id: "",241 isImage: 0,242 type: "i",243 liked: 0,244 likes: 14,245 count: 0,246 },247 {248 id: 15,249 name: "Harabhara Kebab",250 description: "Mix vegetable cutlets with Indian spices",251 price: 14,252 nonVeg: "No",253 icon_id: "",254 isSpecial: "No",255 topping_id: "",256 isImage: 0,257 type: "i",258 liked: 0,259 likes: 6,260 count: 0,261 },262 {263 id: 16,264 name: "Ghobi 65",265 description:266 "Cauliflower battered golden fried with tomato and Indian spices",267 price: 16,268 nonVeg: "No",269 icon_id: '["1"]',270 isSpecial: "No",271 topping_id: "",272 isImage: 0,273 type: "i",274 liked: 0,275 likes: 7,276 count: 0,277 },278 {279 id: 17,280 name: "Aloo Tikki",281 description: "Golden fried potatoes with coriander and cumin",282 price: 12,283 nonVeg: "No",284 icon_id: "",285 isSpecial: "No",286 topping_id: "",287 isImage: 0,288 type: "i",289 liked: 0,290 likes: 8,291 count: 0,292 },293 ],294 },295 {296 id: 4,297 image: "non_veg",298 name: "Non Vegetarian Snacks",299 description: "",300 isImage: 4,301 iCnt: 11,302 items: [303 {304 id: 18,305 name: "Chicken Samosa (2 szt. / 2 pcs.)",306 description:307 "Crispy puffs stuffed with spicy chicken, potatos and green peas",308 price: 16,309 nonVeg: "No",310 icon_id: "",311 isSpecial: "No",312 topping_id: "",313 isImage: 0,314 type: "i",315 liked: 0,316 likes: 4,317 count: 0,318 },319 {320 id: 19,321 name: "Mutton Samosa (2 szt. / 2 pcs.)",322 description:323 "Crispy puffs stuffed with spicy mutton, potatos and green peas",324 price: 18,325 nonVeg: "No",326 icon_id: "",327 isSpecial: "No",328 topping_id: "",329 isImage: 0,330 type: "i",331 liked: 0,332 likes: 1,333 count: 0,334 },335 {336 id: 20,337 name: "Chicken Pakora (6szt. / 6 pcs.)",338 description: "Pieces of grilled chicken battered and deep fried.",339 price: 16,340 nonVeg: "No",341 icon_id: "",342 isSpecial: "No",343 topping_id: "",344 isImage: 0,345 type: "i",346 liked: 0,347 likes: 5,348 count: 0,349 },350 {351 id: 21,352 name: "Chicken Lollipop (4 szt. / 4 pcs.)",353 description:354 "Chicken wings coated in spice mixed gram flour and fried.",355 price: 16,356 nonVeg: "No",357 icon_id: "",358 isSpecial: "No",359 topping_id: "",360 isImage: 0,361 type: "i",362 liked: 0,363 likes: 3,364 count: 0,365 },366 {367 id: 22,368 name: "Chicken Tikka",369 description: "Marinated chunks of chicken roasted in clay oven",370 price: 24,371 nonVeg: "No",372 icon_id: "",373 isSpecial: "No",374 topping_id: "",375 isImage: 0,376 type: "i",377 liked: 0,378 likes: 8,379 count: 0,380 },381 {382 id: 23,383 name: "Chicken Hariyali Tikka",384 description:385 "Chunks of chicken marinated with fresh herbs roasted in clay oven",386 price: 24,387 nonVeg: "No",388 icon_id: "",389 isSpecial: "No",390 topping_id: "",391 isImage: 0,392 type: "i",393 liked: 0,394 likes: 2,395 count: 0,396 },397 {398 id: 24,399 name: "Garlic Chicken Tikka",400 description:401 "Chunks of chicken marinated with garlic roasted in clay oven",402 price: 24,403 nonVeg: "No",404 icon_id: '["5"]',405 isSpecial: "No",406 topping_id: "",407 isImage: 0,408 type: "i",409 liked: 0,410 likes: 1,411 count: 0,412 },413 {414 id: 25,415 name: "Murgh Malai Kebab",416 description:417 "Supreme pieces of chicken marinated with cream and cheese roasted in clay oven",418 price: 24,419 nonVeg: "No",420 icon_id: '["4","5"]',421 isSpecial: "No",422 topping_id: "",423 isImage: 0,424 type: "i",425 liked: 0,426 likes: 3,427 count: 0,428 },429 {430 id: 26,431 name: "Tandoori Chicken",432 description:433 "Leg and breast of chicken marinated with curd and tandoori spices roasted in clay oven",434 price: 26,435 nonVeg: "No",436 icon_id: '["5"]',437 isSpecial: "No",438 topping_id: "",439 isImage: 0,440 type: "i",441 liked: 0,442 likes: 2,443 count: 0,444 },445 {446 id: 27,447 name: "Fish Tikka",448 description:449 "Butter fish marinated with fresh herbs and roasted in clay oven",450 price: 24,451 nonVeg: "No",452 icon_id: '["5"]',453 isSpecial: "No",454 topping_id: "",455 isImage: 0,456 type: "i",457 liked: 0,458 likes: 0,459 count: 0,460 },461 {462 id: 28,463 name: "Chicken 65",464 description:465 "Chicken battered golden fried with tomato and Indian spices",466 price: 22,467 nonVeg: "No",468 icon_id: '["1"]',469 isSpecial: "No",470 topping_id: "",471 isImage: 0,472 type: "i",473 liked: 0,474 likes: 3,475 count: 0,476 },477 ],478 },479 {480 id: 5,481 image: "veg_dish",482 name: "Vegetarian dishes",483 description: "",484 isImage: 3,485 iCnt: 15,486 items: [487 {488 id: 29,489 name: "Dal Tadka",490 description: "Yellow and red lentils cooked with Indian spices",491 price: 22,492 nonVeg: "No",493 icon_id: '["1"]',494 isSpecial: "No",495 topping_id: "",496 isImage: 0,497 type: "i",498 liked: 0,499 likes: 6,500 count: 0,501 },502 {503 id: 30,504 name: "Dal Makhni",505 description: "Black lentils cooked with tomato butter sauce",506 price: 22,507 nonVeg: "No",508 icon_id: "",509 isSpecial: "No",510 topping_id: "",511 isImage: 0,512 type: "i",513 liked: 0,514 likes: 3,515 count: 0,516 },517 {518 id: 31,519 name: "Vegetable Korma",520 description:521 "Mix vegetables and chunks of cottage cheese cooked with cashewnut and cream sauce",522 price: 24,523 nonVeg: "No",524 icon_id: '["4"]',525 isSpecial: "No",526 topping_id: "",527 isImage: 0,528 type: "i",529 liked: 0,530 likes: 6,531 count: 0,532 },533 {534 id: 32,535 name: "Mix Kadai Vegetable",536 description:537 "Mix vegetables and chunks of cottage cheese cooked with capsicum, onion and tomato sauce",538 price: 22,539 nonVeg: "No",540 icon_id: '["2"]',541 isSpecial: "No",542 topping_id: "",543 isImage: 0,544 type: "i",545 liked: 0,546 likes: 8,547 count: 0,548 },549 {550 id: 33,551 name: "Chana Masala",552 description: "Chick peas cooked with Indian spices",553 price: 20,554 nonVeg: "No",555 icon_id: "",556 isSpecial: "No",557 topping_id: "",558 isImage: 0,559 type: "i",560 liked: 0,561 likes: 2,562 count: 0,563 },564 {565 id: 34,566 name: "Aloo Ghobi Curry",567 description:568 "Chunks of potato and cauliflower cooked in onion tomato sauce",569 price: 20,570 nonVeg: "No",571 icon_id: "",572 isSpecial: "No",573 topping_id: "",574 isImage: 0,575 type: "i",576 liked: 0,577 likes: 2,578 count: 0,579 },580 {581 id: 35,582 name: "Aloo Bhindi",583 description:584 "Chunks of potato and okra cooked with onion tomato sauce",585 price: 22,586 nonVeg: "No",587 icon_id: "",588 isSpecial: "No",589 topping_id: "",590 isImage: 0,591 type: "i",592 liked: 0,593 likes: 3,594 count: 0,595 },596 {597 id: 36,598 name: "Dahiwala Baingan",599 description:600 "Chunks of fresh brinjol cooked with curd and coconut sauce",601 price: 22,602 nonVeg: "No",603 icon_id: "",604 isSpecial: "No",605 topping_id: "",606 isImage: 0,607 type: "i",608 liked: 0,609 likes: 3,610 count: 0,611 },612 {613 id: 37,614 name: "Vegetable kofta",615 description: "Mix vegetables balls cooked with curry sauce",616 price: 20,617 nonVeg: "No",618 icon_id: "",619 isSpecial: "No",620 topping_id: "",621 isImage: 0,622 type: "i",623 liked: 0,624 likes: 6,625 count: 0,626 },627 {628 id: 38,629 name: "Paneer Jalfreji",630 description:631 "Chunks of cottage cheese with capsicum, onion and tomato",632 price: 24,633 nonVeg: "No",634 icon_id: '["1"]',635 isSpecial: "No",636 topping_id: "",637 isImage: 0,638 type: "i",639 liked: 0,640 likes: 7,641 count: 0,642 },643 {644 id: 39,645 name: "Paneer Tikka Masala",646 description:647 "Pieces of grilled Indian cottage cheese cooked with onion tomato sauce",648 price: 25,649 nonVeg: "No",650 icon_id: '["1"]',651 isSpecial: "No",652 topping_id: "",653 isImage: 0,654 type: "i",655 liked: 0,656 likes: 8,657 count: 0,658 },659 {660 id: 40,661 name: "Palak Paneer",662 description:663 "Spinach and chunks of cottage cheese cooked with Indian spices",664 price: 24,665 nonVeg: "No",666 icon_id: "",667 isSpecial: "No",668 topping_id: "",669 isImage: 0,670 type: "i",671 liked: 0,672 likes: 15,673 count: 0,674 },675 {676 id: 41,677 name: "Paneer Makhni",678 description:679 "Chunks of cottage cheese cooked with tomato butter sauce",680 price: 25,681 nonVeg: "No",682 icon_id: '["4"]',683 isSpecial: "No",684 topping_id: "",685 isImage: 0,686 type: "i",687 liked: 0,688 likes: 12,689 count: 0,690 },691 {692 id: 42,693 name: "Matar Paneer",694 description:695 "Chunks of cottage cheese and green peas cooked with tomato and cashew sauce",696 price: 22,697 nonVeg: "No",698 icon_id: "",699 isSpecial: "No",700 topping_id: "",701 isImage: 0,702 type: "i",703 liked: 0,704 likes: 5,705 count: 0,706 },707 {708 id: 43,709 name: "Paneer Kofta",710 description: "Cottage cheese balls cooked in cashew and cream sauce",711 price: 24,712 nonVeg: "No",713 icon_id: '["4"]',714 isSpecial: "No",715 topping_id: "",716 isImage: 0,717 type: "i",718 liked: 0,719 likes: 3,720 count: 0,721 },722 ],723 },724 {725 id: 6,726 image: "non_veg_dish",727 name: "Non vegeterian dishes",728 description: "",729 isImage: 3,730 iCnt: 23,731 items: [732 {733 id: 44,734 name: "Chicken Curry",735 description: "Chunks of chicken cooked with curry sauce",736 price: 24,737 nonVeg: "No",738 icon_id: "",739 isSpecial: "No",740 topping_id: "",741 isImage: 0,742 type: "i",743 liked: 0,744 likes: 6,745 count: 0,746 },747 {748 id: 45,749 name: "Butter Chicken",750 description: "Chunks of chicken cooked with tomato butter sauce",751 price: 26,752 nonVeg: "No",753 icon_id: '["4"]',754 isSpecial: "No",755 topping_id: "",756 isImage: 0,757 type: "i",758 liked: 0,759 likes: 29,760 count: 0,761 },762 {763 id: 46,764 name: "Chicken Tikka Masala",765 description:766 "Chunks of grilled chicken cooked with onion tomato sauce",767 price: 26,768 nonVeg: "No",769 icon_id: '["1"]',770 isSpecial: "No",771 topping_id: "",772 isImage: 0,773 type: "i",774 liked: 0,775 likes: 13,776 count: 0,777 },778 {779 id: 47,780 name: "Chicken Korma",781 description: "Chunks of chicken cooked with cream-cashew",782 price: 28,783 nonVeg: "No",784 icon_id: '["4"]',785 isSpecial: "No",786 topping_id: "",787 isImage: 0,788 type: "i",789 liked: 0,790 likes: 20,791 count: 0,792 },793 {794 id: 48,795 name: "Chicken Lababdar",796 description:797 "Chunks of chicken cooked with cashew tomato onion sauce",798 price: 25,799 nonVeg: "No",800 icon_id: "",801 isSpecial: "No",802 topping_id: "",803 isImage: 0,804 type: "i",805 liked: 0,806 likes: 5,807 count: 0,808 },809 {810 id: 49,811 name: "Chicken Palak",812 description: "Spinach and chunks of chicken cooked with curry sauce",813 price: 25,814 nonVeg: "No",815 icon_id: "",816 isSpecial: "No",817 topping_id: "",818 isImage: 0,819 type: "i",820 liked: 0,821 likes: 5,822 count: 0,823 },824 {825 id: 50,826 name: "Chicken Jalfreji",827 description: "Chunks of chicken cooked with mix vegetable",828 price: 25,829 nonVeg: "No",830 icon_id: "",831 isSpecial: "No",832 topping_id: "",833 isImage: 0,834 type: "i",835 liked: 0,836 likes: 9,837 count: 0,838 },839 {840 id: 51,841 name: "Chicken Madras",842 description:843 "Chunks of chicken cooked with onion, capsicum and fresh hot green chilli",844 price: 28,845 nonVeg: "No",846 icon_id: '["3"]',847 isSpecial: "No",848 topping_id: "",849 isImage: 0,850 type: "i",851 liked: 0,852 likes: 19,853 count: 0,854 },855 {856 id: 52,857 name: "Chicken Vindaloo",858 description: "Chunks of chicken cooked with Indian spice-sour sauce",859 price: 28,860 nonVeg: "No",861 icon_id: '["3"]',862 isSpecial: "No",863 topping_id: "",864 isImage: 0,865 type: "i",866 liked: 0,867 likes: 8,868 count: 0,869 },870 {871 id: 53,872 name: "Methi Chicken",873 description:874 "Chunks of chicken cooked with fenugreek leaves with curry sauce",875 price: 24,876 nonVeg: "No",877 icon_id: "",878 isSpecial: "No",879 topping_id: "",880 isImage: 0,881 type: "i",882 liked: 0,883 likes: 4,884 count: 0,885 },886 {887 id: 54,888 name: "Ginger Chicken",889 description:890 "Chunks of chicken cooked with fresh ginger and Indian spices",891 price: 24,892 nonVeg: "No",893 icon_id: "",894 isSpecial: "No",895 topping_id: "",896 isImage: 0,897 type: "i",898 liked: 0,899 likes: 1,900 count: 0,901 },902 {903 id: 55,904 name: "Garlic Chicken",905 description:906 "Chunks of chicken cooked with fresh garlic and Indian spices",907 price: 25,908 nonVeg: "No",909 icon_id: "",910 isSpecial: "No",911 topping_id: "",912 isImage: 0,913 type: "i",914 liked: 0,915 likes: 6,916 count: 0,917 },918 {919 id: 56,920 name: "Chicken Do Pyaza",921 description: "Chunks of chicken cooked with onion-cashew sauce",922 price: 30,923 nonVeg: "No",924 icon_id: "",925 isSpecial: "No",926 topping_id: "",927 isImage: 0,928 type: "i",929 liked: 0,930 likes: 4,931 count: 0,932 },933 {934 id: 57,935 name: "Balti Chicken",936 description:937 "Chunks of chicken cooked with capsicum, tomato with Indian spices",938 price: 32,939 nonVeg: "No",940 icon_id: '["2"]',941 isSpecial: "No",942 topping_id: "",943 isImage: 0,944 type: "i",945 liked: 0,946 likes: 10,947 count: 0,948 },949 {950 id: 58,951 name: "Mutton Curry",952 description: "Chunks of mutton cooked with curry sauce",953 price: 30,954 nonVeg: "No",955 icon_id: "",956 isSpecial: "No",957 topping_id: "",958 isImage: 0,959 type: "i",960 liked: 0,961 likes: 2,962 count: 0,963 },964 {965 id: 59,966 name: "Mutton Korma",967 description: "Chunks of mutton cooked with cream- cashew sauce",968 price: 32,969 nonVeg: "No",970 icon_id: '["4"]',971 isSpecial: "No",972 topping_id: "",973 isImage: 0,974 type: "i",975 liked: 0,976 likes: 3,977 count: 0,978 },979 {980 id: 60,981 name: "Mutton Palak",982 description: "Spinach and chunks of mutton cooked with curry sauce",983 price: 30,984 nonVeg: "No",985 icon_id: "",986 isSpecial: "No",987 topping_id: "",988 isImage: 0,989 type: "i",990 liked: 0,991 likes: 3,992 count: 0,993 },994 {995 id: 61,996 name: "Mutton Roghan Josh",997 description:998 "Chunks of mutton cooked with Indian spices and onion sauce",999 price: 32,1000 nonVeg: "No",1001 icon_id: '["1"]',1002 isSpecial: "No",1003 topping_id: "",1004 isImage: 0,1005 type: "i",1006 liked: 0,1007 likes: 4,1008 count: 0,1009 },1010 {1011 id: 62,1012 name: "Mutton Madras",1013 description:1014 "Chunks of mutton cooked with onion, capsicum and fresh hot green chili",1015 price: 32,1016 nonVeg: "No",1017 icon_id: '["3"]',1018 isSpecial: "No",1019 topping_id: "",1020 isImage: 0,1021 type: "i",1022 liked: 0,1023 likes: 1,1024 count: 0,1025 },1026 {1027 id: 63,1028 name: "Kadai Mutton",1029 description: "Chunks of mutton cooked with mix veg.",1030 price: 32,1031 nonVeg: "No",1032 icon_id: '["2"]',1033 isSpecial: "No",1034 topping_id: "",1035 isImage: 0,1036 type: "i",1037 liked: 0,1038 likes: 2,1039 count: 0,1040 },1041 {1042 id: 64,1043 name: "Bhuna Gosht",1044 description: "Chunks of mutton cooked with Indian spices (dry)",1045 price: 30,1046 nonVeg: "No",1047 icon_id: "",1048 isSpecial: "No",1049 topping_id: "",1050 isImage: 0,1051 type: "i",1052 liked: 0,1053 likes: 1,1054 count: 0,1055 },1056 {1057 id: 65,1058 name: "Balti Mutton",1059 description:1060 "Chunks of mutton cooked with capsicum, tomato with Indian spices",1061 price: 36,1062 nonVeg: "No",1063 icon_id: '["2"]',1064 isSpecial: "No",1065 topping_id: "",1066 isImage: 0,1067 type: "i",1068 liked: 0,1069 likes: 1,1070 count: 0,1071 },1072 {1073 id: 66,1074 name: "Ginger Mutton",1075 description:1076 "Chunks of mutton cooked with fresh ginger and indian spices",1077 price: 35,1078 nonVeg: "No",1079 icon_id: '["1"]',1080 isSpecial: "No",1081 topping_id: "",1082 isImage: 0,1083 type: "i",1084 liked: 0,1085 likes: 3,1086 count: 0,1087 },1088 ],1089 },1090 {1091 id: 7,1092 image: "sea_food",1093 name: "Sea food dishes",1094 description: "",1095 isImage: 3,1096 iCnt: 7,1097 items: [1098 {1099 id: 67,1100 name: "Fish Curry",1101 description: "Chunks of fish cooked with coconut based sauce",1102 price: 25,1103 nonVeg: "No",1104 icon_id: "",1105 isSpecial: "No",1106 topping_id: "",1107 isImage: 0,1108 type: "i",1109 liked: 0,1110 likes: 1,1111 count: 0,1112 },1113 {1114 id: 68,1115 name: "Fish Masala",1116 description: "Chunks of fish cooked with onion tomato sauce",1117 price: 25,1118 nonVeg: "No",1119 icon_id: '["1"]',1120 isSpecial: "No",1121 topping_id: "",1122 isImage: 0,1123 type: "i",1124 liked: 0,1125 likes: 0,1126 count: 0,1127 },1128 {1129 id: 69,1130 name: "Fish Hydrabadi",1131 description: "Chunks of fish cooked with fresh green Indian herbs",1132 price: 24,1133 nonVeg: "No",1134 icon_id: '["2"]',1135 isSpecial: "No",1136 topping_id: "",1137 isImage: 0,1138 type: "i",1139 liked: 0,1140 likes: 1,1141 count: 0,1142 },1143 {1144 id: 70,1145 name: "Garlic Fish",1146 description:1147 "Chunks of fish cooked with fresh garlic and Indian spices",1148 price: 26,1149 nonVeg: "No",1150 icon_id: '["1"]',1151 isSpecial: "No",1152 topping_id: "",1153 isImage: 0,1154 type: "i",1155 liked: 0,1156 likes: 0,1157 count: 0,1158 },1159 {1160 id: 71,1161 name: "Prawn Curry",1162 description: "Prawns cooked with coconut and onion sauce",1163 price: 35,1164 nonVeg: "No",1165 icon_id: "",1166 isSpecial: "No",1167 topping_id: "",1168 isImage: 0,1169 type: "i",1170 liked: 0,1171 likes: 4,1172 count: 0,1173 },1174 {1175 id: 72,1176 name: "Prawn Jalfreji",1177 description: "Prawns cooked with mix vegetable and curry sauce",1178 price: 35,1179 nonVeg: "No",1180 icon_id: "",1181 isSpecial: "No",1182 topping_id: "",1183 isImage: 0,1184 type: "i",1185 liked: 0,1186 likes: 1,1187 count: 0,1188 },1189 {1190 id: 73,1191 name: "Prawn Chili Garlic Masala",1192 description: "Prawns cooked with garlic, chili and curry sauce",1193 price: 36,1194 nonVeg: "No",1195 icon_id: '["3"]',1196 isSpecial: "No",1197 topping_id: "",1198 isImage: 0,1199 type: "i",1200 liked: 0,1201 likes: 0,1202 count: 0,1203 },1204 ],1205 },1206 {1207 id: 8,1208 image: "biryani",1209 name: "Biryani",1210 description: "",1211 isImage: 4,1212 iCnt: 4,1213 items: [1214 {1215 id: 74,1216 name: "Vegetable Biryani",1217 description:1218 "Basmati rice steamed with mix vegetables, chunks of cottage cheese and Indian spices",1219 price: 24,1220 nonVeg: "No",1221 icon_id: "",1222 isSpecial: "No",1223 topping_id: "",1224 isImage: 0,1225 type: "i",1226 liked: 0,1227 likes: 3,1228 count: 0,1229 },1230 {1231 id: 75,1232 name: "Chicken Biryani",1233 description:1234 "Basmati rice steamed with boneless chicken and fresh Indian herbs",1235 price: 28,1236 nonVeg: "No",1237 icon_id: "",1238 isSpecial: "No",1239 topping_id: "",1240 isImage: 0,1241 type: "i",1242 liked: 0,1243 likes: 5,1244 count: 0,1245 },1246 {1247 id: 76,1248 name: "Mutton Biryani",1249 description: "Basmati rice steamed with mutton and Indian spices",1250 price: 30,1251 nonVeg: "No",1252 icon_id: "",1253 isSpecial: "No",1254 topping_id: "",1255 isImage: 0,1256 type: "i",1257 liked: 0,1258 likes: 2,1259 count: 0,1260 },1261 {1262 id: 77,1263 name: "Prawn Biryani",1264 description:1265 "Basmati rice steamed with prawns, cottage cheese and Indian spices",1266 price: 35,1267 nonVeg: "No",1268 icon_id: "",1269 isSpecial: "No",1270 topping_id: "",1271 isImage: 0,1272 type: "i",1273 liked: 0,1274 likes: 0,1275 count: 0,1276 },1277 ],1278 },1279 {1280 id: 9,1281 image: "rice",1282 name: "Rice",1283 description: "",1284 isImage: 3,1285 iCnt: 7,1286 items: [1287 {1288 id: 78,1289 name: "Plain Rice",1290 description: "Basmati rice",1291 price: 7,1292 nonVeg: "No",1293 icon_id: "",1294 isSpecial: "No",1295 topping_id: "",1296 isImage: 0,1297 type: "i",1298 liked: 0,1299 likes: 8,1300 count: 0,1301 },1302 {1303 id: 79,1304 name: "Jeera Rice",1305 description: "Basmati rice fried with Indian cumin",1306 price: 12,1307 nonVeg: "No",1308 icon_id: "",1309 isSpecial: "No",1310 topping_id: "",1311 isImage: 0,1312 type: "i",1313 liked: 0,1314 likes: 4,1315 count: 0,1316 },1317 {1318 id: 80,1319 name: "Lemon Rice",1320 description:1321 "Basmati rice fried with turmeric, mustard seeds and fresh lemon juice",1322 price: 12,1323 nonVeg: "No",1324 icon_id: "",1325 isSpecial: "No",1326 topping_id: "",1327 isImage: 0,1328 type: "i",1329 liked: 0,1330 likes: 3,1331 count: 0,1332 },1333 {1334 id: 81,1335 name: "Safron Rice",1336 description: "",1337 price: 14,1338 nonVeg: "No",1339 icon_id: "",1340 isSpecial: "No",1341 topping_id: "",1342 isImage: 0,1343 type: "i",1344 liked: 0,1345 likes: 10,1346 count: 0,1347 },1348 {1349 id: 82,1350 name: "Methi Pulao",1351 description:1352 "Basmati rice fried with fenugreek leaves and cashew nuts",1353 price: 14,1354 nonVeg: "No",1355 icon_id: "",1356 isSpecial: "No",1357 topping_id: "",1358 isImage: 0,1359 type: "i",1360 liked: 0,1361 likes: 3,1362 count: 0,1363 },1364 {1365 id: 83,1366 name: "Peas Pulao",1367 description: "Basmati rice fried with green peas",1368 price: 14,1369 nonVeg: "No",1370 icon_id: "",1371 isSpecial: "No",1372 topping_id: "",1373 isImage: 0,1374 type: "i",1375 liked: 0,1376 likes: 4,1377 count: 0,1378 },1379 {1380 id: 84,1381 name: "Kashmiri Pulao",1382 description: "Basmati rice fried with fresh fruits",1383 price: 15,1384 nonVeg: "No",1385 icon_id: '["4"]',1386 isSpecial: "No",1387 topping_id: "",1388 isImage: 0,1389 type: "i",1390 liked: 0,1391 likes: 2,1392 count: 0,1393 },1394 ],1395 },1396 {1397 id: 10,1398 image: "roti",1399 name: "Indian-Tandoori Breads",1400 description: "",1401 isImage: 3,1402 iCnt: 11,1403 items: [1404 {1405 id: 85,1406 name: "Chapati",1407 description: "",1408 price: 5,1409 nonVeg: "No",1410 icon_id: "",1411 isSpecial: "No",1412 topping_id: "",1413 isImage: 0,1414 type: "i",1415 liked: 0,1416 likes: 4,1417 count: 0,1418 },1419 {1420 id: 86,1421 name: "Tandoori Roti",1422 description: "Indian bread roasted in clay oven",1423 price: 6,1424 nonVeg: "No",1425 icon_id: '["5"]',1426 isSpecial: "No",1427 topping_id: "",1428 isImage: 0,1429 type: "i",1430 liked: 0,1431 likes: 4,1432 count: 0,1433 },1434 {1435 id: 88,1436 name: "Plain Naan",1437 description: "Plain tandoori bread made from refined flour",1438 price: 7,1439 nonVeg: "No",1440 icon_id: '["5"]',1441 isSpecial: "No",1442 topping_id: "",1443 isImage: 0,1444 type: "i",1445 liked: 0,1446 likes: 24,1447 count: 0,1448 },1449 {1450 id: 89,1451 name: "Butter Naan",1452 description: "Indian bread with butter roasted in clay oven",1453 price: 9,1454 nonVeg: "No",1455 icon_id: '["5"]',1456 isSpecial: "No",1457 topping_id: "",1458 isImage: 0,1459 type: "i",1460 liked: 0,1461 likes: 25,1462 count: 0,1463 },1464 {1465 id: 90,1466 name: "Garlic Naan",1467 description: "Indian bread with garlic roasted in clay oven",1468 price: 10,1469 nonVeg: "No",1470 icon_id: '["5"]',1471 isSpecial: "No",1472 topping_id: "",1473 isImage: 0,1474 type: "i",1475 liked: 0,1476 likes: 41,1477 count: 0,1478 },1479 {1480 id: 91,1481 name: "Keema Naan",1482 description:1483 "Indian bread stuffed with minced mutton and spices, roasted in clay oven",1484 price: 18,1485 nonVeg: "No",1486 icon_id: '["1","5"]',1487 isSpecial: "No",1488 topping_id: "",1489 isImage: 0,1490 type: "i",1491 liked: 0,1492 likes: 2,1493 count: 0,1494 },1495 {1496 id: 92,1497 name: "Kashmiri Naan",1498 description:1499 "Indian bread stuffed with cheese and fresh fruit, roasted in clay oven",1500 price: 15,1501 nonVeg: "No",1502 icon_id: '["5"]',1503 isSpecial: "No",1504 topping_id: "",1505 isImage: 0,1506 type: "i",1507 liked: 0,1508 likes: 3,1509 count: 0,1510 },1511 {1512 id: 93,1513 name: "Aloo Parantha",1514 description:1515 "Indian bread stuffed with potatoes and spices, roasted in clay oven",1516 price: 12,1517 nonVeg: "No",1518 icon_id: '["5"]',1519 isSpecial: "No",1520 topping_id: "",1521 isImage: 0,1522 type: "i",1523 liked: 0,1524 likes: 6,1525 count: 0,1526 },1527 {1528 id: 94,1529 name: "Paneer Parantha",1530 description:1531 "Indian bread stuffed with cottage cheese and spices, roasted in clay oven",1532 price: 16,1533 nonVeg: "No",1534 icon_id: '["5"]',1535 isSpecial: "No",1536 topping_id: "",1537 isImage: 0,1538 type: "i",1539 liked: 0,1540 likes: 2,1541 count: 0,1542 },1543 {1544 id: 95,1545 name: "Mix Veg. Parantha",1546 description:1547 "Indian bread stuffed with mixed vegetables and spices, roasted in clay oven",1548 price: 12,1549 nonVeg: "No",1550 icon_id: '["5"]',1551 isSpecial: "No",1552 topping_id: "",1553 isImage: 0,1554 type: "i",1555 liked: 0,1556 likes: 0,1557 count: 0,1558 },1559 {1560 id: 771,1561 name: "Methi Roti",1562 description:1563 "Indian bread with fenugreek leaves roasted in clay oven",1564 price: 7,1565 nonVeg: "No",1566 icon_id: '["5"]',1567 isSpecial: "No",1568 topping_id: "",1569 isImage: 0,1570 type: "i",1571 liked: 0,1572 likes: 2,1573 count: 0,1574 },1575 ],1576 },1577 {1578 id: 11,1579 image: "dosa",1580 name: "Dosa",1581 description: "",1582 isImage: 3,1583 iCnt: 5,1584 items: [1585 {1586 id: 96,1587 name: "Plain Dosa",1588 description: "Pancake made from fermented rice and lentils",1589 price: 16,1590 nonVeg: "No",1591 icon_id: "",1592 isSpecial: "No",1593 topping_id: "",1594 isImage: 0,1595 type: "i",1596 liked: 0,1597 likes: 0,1598 count: 0,1599 },1600 {1601 id: 97,1602 name: "Masala Dosa",1603 description:1604 "Pancake made from fermented rice and lentils, filled with spicy mix of onions and potatoes",1605 price: 22,1606 nonVeg: "No",1607 icon_id: "",1608 isSpecial: "No",1609 topping_id: "",1610 isImage: 0,1611 type: "i",1612 liked: 0,1613 likes: 8,1614 count: 0,1615 },1616 {1617 id: 98,1618 name: "Chicken Masala Dosa",1619 description:1620 "Pancake made from fermented rice and lentils, filled with spicy mix of chicken, onion and potatoes",1621 price: 28,1622 nonVeg: "No",1623 icon_id: "",1624 isSpecial: "No",1625 topping_id: "",1626 isImage: 0,1627 type: "i",1628 liked: 0,1629 likes: 3,1630 count: 0,1631 },1632 {1633 id: 99,1634 name: "Pudina Dosa",1635 description:1636 "Pancake made from fermented rice and lentils with mint sause",1637 price: 22,1638 nonVeg: "No",1639 icon_id: "",1640 isSpecial: "No",1641 topping_id: "",1642 isImage: 0,1643 type: "i",1644 liked: 0,1645 likes: 1,1646 count: 0,1647 },1648 {1649 id: 100,1650 name: "Cheese Dosa",1651 description:1652 "Pancake made from fermented rice and lentils with cheese",1653 price: 25,1654 nonVeg: "No",1655 icon_id: "",1656 isSpecial: "No",1657 topping_id: "",1658 isImage: 0,1659 type: "i",1660 liked: 0,1661 likes: 1,1662 count: 0,1663 },1664 ],1665 },1666 {1667 id: 12,1668 image: "idli",1669 name: "Idli",1670 description: "",1671 isImage: 3,1672 iCnt: 2,1673 items: [1674 {1675 id: 101,1676 name: "Plain Idli",1677 description:1678 "Round, fluffy south Indian streamed bread, made from ground rice or rice flour mixed \r\nwith ground urad dal, salt.",1679 price: 22,1680 nonVeg: "No",1681 icon_id: "",1682 isSpecial: "No",1683 topping_id: "",1684 isImage: 0,1685 type: "i",1686 liked: 0,1687 likes: 2,1688 count: 0,1689 },1690 {1691 id: 102,1692 name: "Masala Idli",1693 description:1694 "Round, fluffy south Indian streamed bread, made from ground rice or rice flour mixed \r\nwith ground urad dal, salt & spices",1695 price: 25,1696 nonVeg: "No",1697 icon_id: "",1698 isSpecial: "No",1699 topping_id: "",1700 isImage: 0,1701 type: "i",1702 liked: 0,1703 likes: 3,1704 count: 0,1705 },1706 ],1707 },1708 {1709 id: 13,1710 image: "uttapam",1711 name: "Uttapam",1712 description: "",1713 isImage: 3,1714 iCnt: 3,1715 items: [1716 {1717 id: 103,1718 name: "Uttapam",1719 description: "Indian thick pancake made from rice flour",1720 price: 20,1721 nonVeg: "No",1722 icon_id: "",1723 isSpecial: "No",1724 topping_id: "",1725 isImage: 0,1726 type: "i",1727 liked: 0,1728 likes: 0,1729 count: 0,1730 },1731 {1732 id: 104,1733 name: "Onion Uttapam",1734 description:1735 "Indian thick pancake made from rice flour mixed with onions and Indian spices",1736 price: 24,1737 nonVeg: "No",1738 icon_id: "",1739 isSpecial: "No",1740 topping_id: "",1741 isImage: 0,1742 type: "i",1743 liked: 0,1744 likes: 1,1745 count: 0,1746 },1747 {1748 id: 105,1749 name: "Tomato Uttapam",1750 description:1751 "Indian thick pancake made from rice flour mixed with tomatoes and Indian spices",1752 price: 24,1753 nonVeg: "No",1754 icon_id: "",1755 isSpecial: "No",1756 topping_id: "",1757 isImage: 0,1758 type: "i",1759 liked: 0,1760 likes: 1,1761 count: 0,1762 },1763 ],1764 },1765 {1766 id: 14,1767 image: "accompaniments",1768 name: "Accompaniments",1769 description: "",1770 isImage: 4,1771 iCnt: 2,1772 items: [1773 {1774 id: 106,1775 name: "Roasted Papad (2 szt.)",1776 description: "",1777 price: 4,1778 nonVeg: "No",1779 icon_id: '["5"]',1780 isSpecial: "No",1781 topping_id: "",1782 isImage: 0,1783 type: "i",1784 liked: 0,1785 likes: 3,1786 count: 0,1787 },1788 {1789 id: 107,1790 name: "Raita",1791 description: "Curd mixed with onion and cucumber",1792 price: 8,1793 nonVeg: "No",1794 icon_id: "",1795 isSpecial: "No",1796 topping_id: "",1797 isImage: 0,1798 type: "i",1799 liked: 0,1800 likes: 0,1801 count: 0,1802 },1803 ],1804 },1805 {1806 id: 15,1807 image: "desserts",1808 name: "Dessert",1809 description: "",1810 isImage: 3,1811 iCnt: 3,1812 items: [1813 {1814 id: 108,1815 name: "Gulab Jamun",1816 description: "Deep fried milk balls, soaked in sugar cardamom syrup",1817 price: 10,1818 nonVeg: "No",1819 icon_id: "",1820 isSpecial: "No",1821 topping_id: "",1822 isImage: 0,1823 type: "i",1824 liked: 0,1825 likes: 2,1826 count: 0,1827 },1828 {1829 id: 109,1830 name: "Kulfi (Mango, Pista, Badam)",1831 description: "Ice cream (Almonds, Pistachio & Mango)",1832 price: 10,1833 nonVeg: "No",1834 icon_id: "",1835 isSpecial: "No",1836 topping_id: "",1837 isImage: 0,1838 type: "i",1839 liked: 0,1840 likes: 2,1841 count: 0,1842 },1843 {1844 id: 110,1845 name: "Gajar Ka halwa",1846 description: "Carrot Pudding",1847 price: 10,1848 nonVeg: "No",1849 icon_id: "",1850 isSpecial: "No",1851 topping_id: "",1852 isImage: 0,1853 type: "i",1854 liked: 0,1855 likes: 0,1856 count: 0,1857 },1858 ],1859 },1860 {1861 id: 16,1862 image: "lassi",1863 name: "Lassi",1864 description: "",1865 isImage: 3,1866 iCnt: 5,1867 items: [1868 {1869 id: 111,1870 name: "Lassi Sweet",1871 description: "Indian yogurt drink sweet",1872 price: 9,1873 nonVeg: "No",1874 icon_id: "",1875 isSpecial: "No",1876 topping_id: "",1877 isImage: 0,1878 type: "i",1879 liked: 0,1880 likes: 3,1881 count: 0,1882 },1883 {1884 id: 112,1885 name: "Lassi Salty",1886 description: "Indian yogurt drink salty",1887 price: 9,1888 nonVeg: "No",1889 icon_id: "",1890 isSpecial: "No",1891 topping_id: "",1892 isImage: 0,1893 type: "i",1894 liked: 0,1895 likes: 1,1896 count: 0,1897 },1898 {1899 id: 113,1900 name: "Mango Lassi",1901 description: "Indian mango drink with yoghurt",1902 price: 10,1903 nonVeg: "No",1904 icon_id: "",1905 isSpecial: "No",1906 topping_id: "",1907 isImage: 0,1908 type: "i",1909 liked: 0,1910 likes: 18,1911 count: 0,1912 },1913 {1914 id: 114,1915 name: "Banana Lassi",1916 description: "Indian banana drink with yoghurt",1917 price: 10,1918 nonVeg: "No",1919 icon_id: "",1920 isSpecial: "No",1921 topping_id: "",1922 isImage: 0,1923 type: "i",1924 liked: 0,1925 likes: 2,1926 count: 0,1927 },1928 {1929 id: 115,1930 name: "Guava Lassi",1931 description: "Indian guava drink with yoghurt",1932 price: 12,1933 nonVeg: "No",1934 icon_id: "",1935 isSpecial: "No",1936 topping_id: "",1937 isImage: 0,1938 type: "i",1939 liked: 0,1940 likes: 2,1941 count: 0,1942 },1943 ],1944 },1945 {1946 id: 17,1947 image: "hot_drinks",1948 name: "Hot Drinks",1949 description: "",1950 isImage: 3,1951 iCnt: 7,1952 items: [1953 {1954 id: 116,1955 name: "Indian Tea (Chai)",1956 description: "Indian tea with milk and masala",1957 price: 8,1958 nonVeg: "No",1959 icon_id: "",1960 isSpecial: "No",1961 topping_id: "",1962 isImage: 0,1963 type: "i",1964 liked: 0,1965 likes: 1,1966 count: 0,1967 },1968 {1969 id: 117,1970 name: "Indian Coffee",1971 description: "Indian coffee with milk and masala",1972 price: 8,1973 nonVeg: "No",1974 icon_id: "",1975 isSpecial: "No",1976 topping_id: "",1977 isImage: 0,1978 type: "i",1979 liked: 0,1980 likes: 0,1981 count: 0,1982 },1983 {1984 id: 118,1985 name: "Ayurvedic Tea",1986 description: "",1987 price: 7,1988 nonVeg: "No",1989 icon_id: "",1990 isSpecial: "No",1991 topping_id: "",1992 isImage: 0,1993 type: "i",1994 liked: 0,1995 likes: 0,1996 count: 0,1997 },1998 {1999 id: 119,2000 name: "Black Tea",2001 description: "",2002 price: 7,2003 nonVeg: "No",2004 icon_id: "",2005 isSpecial: "No",2006 topping_id: "",2007 isImage: 0,2008 type: "i",2009 liked: 0,2010 likes: 0,2011 count: 0,2012 },2013 {2014 id: 120,2015 name: "Espresso Small",2016 description: "",2017 price: 7,2018 nonVeg: "No",2019 icon_id: "",2020 isSpecial: "No",2021 topping_id: "",2022 isImage: 0,2023 type: "i",2024 liked: 0,2025 likes: 0,2026 count: 0,2027 },2028 {2029 id: 789,2030 name: "Espresso Big",2031 description: "",2032 price: 8,2033 nonVeg: "No",2034 icon_id: "",2035 isSpecial: "No",2036 topping_id: "",2037 isImage: 0,2038 type: "i",2039 liked: 0,2040 likes: 0,2041 count: 0,2042 },2043 {2044 id: 790,2045 name: "Indian Coffee",2046 description: "",2047 price: 8,2048 nonVeg: "No",2049 icon_id: "",2050 isSpecial: "No",2051 topping_id: "",2052 isImage: 0,2053 type: "i",2054 liked: 0,2055 likes: 1,2056 count: 0,2057 },2058 ],2059 },2060 {2061 id: 18,2062 image: "indian_cold_drinks",2063 name: "Indian Cold Drinks",2064 description: "",2065 isImage: 4,2066 iCnt: 6,2067 items: [2068 {2069 id: 121,2070 name: "Ginger Lemon Drink (200ml)",2071 description: "",2072 price: 10,2073 nonVeg: "No",2074 icon_id: "",2075 isSpecial: "No",2076 topping_id: "",2077 isImage: 0,2078 type: "i",2079 liked: 0,2080 likes: 1,2081 count: 0,2082 },2083 {2084 id: 122,2085 name: "Mango Juice (200ml)",2086 description: "",2087 price: 6,2088 nonVeg: "No",2089 icon_id: "",2090 isSpecial: "No",2091 topping_id: "",2092 isImage: 0,2093 type: "i",2094 liked: 0,2095 likes: 0,2096 count: 0,2097 },2098 {2099 id: 123,2100 name: "Lychee Juice (200ml)",2101 description: "",2102 price: 6,2103 nonVeg: "No",2104 icon_id: "",2105 isSpecial: "No",2106 topping_id: "",2107 isImage: 0,2108 type: "i",2109 liked: 0,2110 likes: 0,2111 count: 0,2112 },2113 {2114 id: 124,2115 name: "Guava Juice (200ml)",2116 description: "",2117 price: 6,2118 nonVeg: "No",2119 icon_id: "",2120 isSpecial: "No",2121 topping_id: "",2122 isImage: 0,2123 type: "i",2124 liked: 0,2125 likes: 0,2126 count: 0,2127 },2128 {2129 id: 125,2130 name: "Lemonade Sweet (200ml)",2131 description: "",2132 price: 10,2133 nonVeg: "No",2134 icon_id: "",2135 isSpecial: "No",2136 topping_id: "",2137 isImage: 0,2138 type: "i",2139 liked: 0,2140 likes: 0,2141 count: 0,2142 },2143 {2144 id: 126,2145 name: "Lemonade Salty (200ml)",2146 description: "",2147 price: 10,2148 nonVeg: "No",2149 icon_id: "",2150 isSpecial: "No",2151 topping_id: "",2152 isImage: 0,2153 type: "i",2154 liked: 0,2155 likes: 0,2156 count: 0,2157 },2158 ],2159 },2160 {2161 id: 19,2162 image: "cold_drinks",2163 name: "Cold Drinks",2164 description: "",2165 isImage: 3,2166 iCnt: 9,2167 items: [2168 {2169 id: 127,2170 name: "Coca Cola / Zero (200ml)",2171 description: "",2172 price: 5,2173 nonVeg: "No",2174 icon_id: "",2175 isSpecial: "No",2176 topping_id: "",2177 isImage: 0,2178 type: "i",2179 liked: 0,2180 likes: 0,2181 count: 0,2182 },2183 {2184 id: 128,2185 name: "Coca Cola (500ml)",2186 description: "",2187 price: 6,2188 nonVeg: "No",2189 icon_id: "",2190 isSpecial: "No",2191 topping_id: "",2192 isImage: 0,2193 type: "i",2194 liked: 0,2195 likes: 0,2196 count: 0,2197 },2198 {2199 id: 129,2200 name: "Fanta (200ml)",2201 description: "",2202 price: 5,2203 nonVeg: "No",2204 icon_id: "",2205 isSpecial: "No",2206 topping_id: "",2207 isImage: 0,2208 type: "i",2209 liked: 0,2210 likes: 0,2211 count: 0,2212 },2213 {2214 id: 130,2215 name: "Sprite (200ml)",2216 description: "",2217 price: 5,2218 nonVeg: "No",2219 icon_id: "",2220 isSpecial: "No",2221 topping_id: "",2222 isImage: 0,2223 type: "i",2224 liked: 0,2225 likes: 0,2226 count: 0,2227 },2228 {2229 id: 131,2230 name: "Nestea lemon / peach (200ml)",2231 description: "",2232 price: 5,2233 nonVeg: "No",2234 icon_id: "",2235 isSpecial: "No",2236 topping_id: "",2237 isImage: 0,2238 type: "i",2239 liked: 0,2240 likes: 0,2241 count: 0,2242 },2243 {2244 id: 132,2245 name: "Tonic (200ml)",2246 description: "",2247 price: 6,2248 nonVeg: "No",2249 icon_id: "",2250 isSpecial: "No",2251 topping_id: "",2252 isImage: 0,2253 type: "i",2254 liked: 0,2255 likes: 0,2256 count: 0,2257 },2258 {2259 id: 133,2260 name: "Woda niegazowana / gazowana (200ml)",2261 description: "",2262 price: 5,2263 nonVeg: "No",2264 icon_id: "",2265 isSpecial: "No",2266 topping_id: "",2267 isImage: 0,2268 type: "i",2269 liked: 0,2270 likes: 0,2271 count: 0,2272 },2273 {2274 id: 134,2275 name: "Woda niegazowana / gazowana (500ml)",2276 description: "",2277 price: 6,2278 nonVeg: "No",2279 icon_id: "",2280 isSpecial: "No",2281 topping_id: "",2282 isImage: 0,2283 type: "i",2284 liked: 0,2285 likes: 0,2286 count: 0,2287 },2288 {2289 id: 135,2290 name: "Juice Cappy Tomato / Orange / Apple",2291 description: "",2292 price: 5,2293 nonVeg: "No",2294 icon_id: "",2295 isSpecial: "No",2296 topping_id: "",2297 isImage: 0,2298 type: "i",2299 liked: 0,2300 likes: 0,2301 count: 0,2302 },2303 ],2304 },2305 ],2306};2307export default (state = initialState, action) => {2308 switch (action.type) {2309 case `${GET_MENU}_PENDING`:2310 return {2311 ...state,2312 loading: true,2313 };2314 case `${GET_MENU}_FULFILLED`: {2315 //get menu item from store2316 return {2317 ...state,2318 loading: false,2319 };2320 }2321 case `${GET_MENU}_REJECTED`: {2322 return {2323 ...state,2324 loading: false,2325 };2326 }2327 case `ADD_TO_CART`: {2328 //find subitem from item and update count2329 let cro = state.menu;2330 cro &&2331 cro.map((item) => {2332 if (item.id === action.payload.itemId) {2333 item.items.map((subItem) => {2334 if (subItem.id === action.payload.id) {2335 subItem.count = 1;2336 }2337 });2338 }2339 });2340 return {2341 ...state,2342 loading: false,2343 menu: Object.assign(state.menu, ...cro),2344 };2345 }2346 case `REMOVE_FROM_CART`: {2347 //find subitem from item and update count2348 let cro = state.menu;2349 cro &&2350 cro.map((item) => {2351 if (item.id === action.payload.itemId) {2352 item.items.map((subItem) => {2353 if (subItem.id === action.payload.id) {2354 subItem.count = 0;2355 }2356 });2357 }2358 });2359 return {2360 ...state,2361 loading: false,2362 menu: Object.assign(state.menu, ...cro),2363 };2364 }2365 case `INCREASE_QUANTITY`: {2366 //find subitem from item and increment count2367 let cro = state.menu;2368 cro &&2369 cro.map((item) => {2370 item.items.map((subItem) => {2371 if (subItem.id === action.payload.id) {2372 subItem.count++;2373 }2374 });2375 });2376 return {2377 ...state,2378 loading: false,2379 menu: Object.assign(state.menu, ...cro),2380 };2381 }2382 case `DECREASE_QUANTITY`: {2383 //find subitem from item and decrement count2384 let cro = state.menu;2385 cro &&2386 cro.map((item) => {2387 item.items.map((subItem) => {2388 if (subItem.id === action.payload.id) {2389 subItem.count--;2390 }2391 });2392 });2393 return {2394 ...state,2395 loading: false,2396 menu: Object.assign(state.menu, ...cro),2397 };2398 }2399 case `LIKE_ITEM`: {2400 //find subitem from item and update likes2401 let cro = state.menu;2402 cro &&2403 cro.map((item) => {2404 item.items.map((subItem) => {2405 if (subItem.id === action.payload.id) {2406 subItem.liked = 1;2407 subItem.likes += 1;2408 }2409 });2410 });2411 return {2412 ...state,2413 loading: false,2414 menu: Object.assign(state.menu, ...cro),2415 };2416 }2417 case `UNLIKE_ITEM`: {2418 //find subitem from item and update likes2419 let cro = state.menu;2420 cro &&2421 cro.map((item) => {2422 item.items.map((subItem) => {2423 if (subItem.id === action.payload.id) {2424 subItem.liked = 0;2425 subItem.likes -= 1;2426 }2427 });2428 });2429 return {2430 ...state,2431 loading: false,2432 menu: Object.assign(state.menu, ...cro),2433 };2434 }2435 default:2436 return state;2437 }...

Full Screen

Full Screen

Grid.js

Source:Grid.js Github

copy

Full Screen

...39 for (let j = 0; j < 40; j++) { // COL + 10 (because the view of the grid is less)40 // doing a double loop so we can dynamically add the committees at certain grids :)41 if (false) {42 // checking if part of a 'special grid'43 } else if (isSpecial(e, j, 'street')) {44 displayArr.push(45 <div className="grid-item street">46 <img className='full' src={CobbleBlock} />47 </div>48 );49 } else if (isSpecial(e, j, 'committee', 'disec')) {50 displayArr.push(51 <div className="grid-item committee">52 <img className='full' src={WoodBlock} />53 <a href="#" className='grid-link'>54 disec55 </a>56 </div>57 );58 } else if (isSpecial(e, j, 'committee', 'interpol')) {59 displayArr.push(60 <div className="grid-item committee">61 <img className='full' src={WoodBlock} />62 <a href="#" className='grid-link'>63 interpol64 </a>65 </div>66 );67 } else if (isSpecial(e, j, 'committee', 'sochum')) {68 displayArr.push(69 <div className="grid-item committee">70 <img className='full' src={WoodBlock} />71 <a href="#" className='grid-link'>72 sochum73 </a>74 </div>75 );76 } else if (isSpecial(e, j, 'committee', 'who')) {77 displayArr.push(78 <div className="grid-item committee">79 <img className='full' src={WoodBlock} />80 <a href="#" className='grid-link'>81 who82 </a>83 </div>84 );85 } else if (isSpecial(e, j, 'committee', 'iac')) {86 displayArr.push(87 <div className="grid-item committee">88 <img className='full' src={WoodBlock} />89 <a href="#" className='grid-link'>90 iac91 </a>92 </div>93 );94 } else if (isSpecial(e, j, 'committee', 'nato')) {95 displayArr.push(96 <div className="grid-item committee">97 <img className='full' src={WoodBlock} />98 <a href="#" className='grid-link'>99 nato100 </a>101 </div>102 );103 } else if (isSpecial(e, j, 'committee', 'uss')) {104 displayArr.push(105 <div className="grid-item committee">106 <img className='full' src={WoodBlock} />107 <a href="#" className='grid-link'>108 uss109 </a>110 </div>111 );112 } else if (isSpecial(e, j, 'committee', 'eu')) {113 displayArr.push(114 <div className="grid-item committee">115 <img className='full' src={WoodBlock} />116 <a href="#" className='grid-link'>117 eu118 </a>119 </div>120 );121 } else if (isSpecial(e, j, 'committee', 'asean')) {122 displayArr.push(123 <div className="grid-item committee">124 <img className='full' src={WoodBlock} />125 <a href="#" className='grid-link'>126 asean127 </a>128 </div>129 );130 } else if (isSpecial(e, j, 'committee', 'unep')) {131 displayArr.push(132 <div className="grid-item committee">133 <img className='full' src={WoodBlock} />134 <a href="#" className='grid-link'>135 unep136 </a>137 </div>138 );139 } else if (isSpecial(e, j, 'committee', 'unsc')) {140 displayArr.push(141 <div className="grid-item committee">142 <img className='full' src={WoodBlock} />143 <a href="#" className='grid-link'>144 unsc145 </a>146 </div>147 );148 } else if (isSpecial(e, j, 'committee', 'unwomen')) {149 displayArr.push(150 <div className="grid-item committee">151 <img className='full' src={WoodBlock} />152 <a href="#" className='grid-link'>153 unwomen154 </a>155 </div>156 );157 } else if (isSpecial(e, j, 'committee', 'facebook')) {158 displayArr.push(159 <div className="grid-item committee">160 <img className='full' src={WoodBlock} />161 <a href="#" className='grid-link'>162 facebook163 </a>164 </div>165 );166 } else if (isSpecial(e, j, 'committee', 'ilo')) {167 displayArr.push(168 <div className="grid-item committee">169 <img className='full' src={WoodBlock} />170 <a href="#" className='grid-link'>171 ilo172 </a>173 </div>174 );175 } else if (isSpecial(e, j, 'committee', 'jcc')) {176 displayArr.push(177 <div className="grid-item committee">178 <img className='full' src={WoodBlock} />179 <a href="#" className='grid-link'>180 jcc181 </a>182 </div>183 );184 } else if (isSpecial(e, j, 'committee', 'fcc')) {185 displayArr.push(186 <div className="grid-item committee">187 <img className='full' src={WoodBlock} />188 <a href="#" className='grid-link'>189 fcc190 </a>191 </div>192 );193 } else if (isSpecial(e, j, 'committee', 'hcc')) {194 displayArr.push(195 <div className="grid-item committee">196 <img className='full' src={WoodBlock} />197 <a href="#" className='grid-link'>198 hcc199 </a>200 </div>201 );202 } else if (isSpecial(e, j, 'committee', 'ipcngo')) {203 displayArr.push(204 <div className="grid-item committee">205 <img className='full' src={WoodBlock} />206 <a href="#" className='grid-link'>207 ipcngo208 </a>209 </div>210 );211 } else if (isSpecial(e, j, 'committee', 'cabinet')) {212 displayArr.push(213 <div className="grid-item committee">214 <img className='full' src={WoodBlock} />215 <a href="#" className='grid-link'>216 cabinet217 </a>218 </div>219 );220 } else if (isSpecial(e, j, 'committee', '_staff')) {221 displayArr.push(222 <div className="grid-item committee">223 <img className='full' src={WoodBlock} />224 <a href="#" className='grid-link'>225 staff226 </a>227 </div>228 );229 } else if (isSpecial(e, j, 'committee', '_main')) {230 //cahsmun main231 displayArr.push(232 <div className="grid-item committee">233 <img className='full' src={WoodBlock} />234 <a href="#" className='grid-link'>235 cahs236 </a>237 </div>238 );239 } else if (isSpecial(e, j, 'committee', '_sec')) {240 // secretariat desk241 displayArr.push(242 <div className="grid-item committee">243 <img className='full' src={WoodBlock} />244 <a href="#" className='grid-link'>245 sec desk246 </a>247 </div>248 );249 } else if (isSpecial(e, j, 'committee', '_social')) {250 // secretariat desk251 displayArr.push(252 <div className="grid-item committee">253 <img className='full' src={WoodBlock} />254 <a href="#" className='grid-link'>255 social256 </a>257 </div>258 );259 } else if (isSpecial(e, j, 'grass')) {260 displayArr.push(261 <div className="grid-item grass"></div>262 );263 } else {264 displayArr.push(265 <div className="grid-item grass">266 <img className='full' src={GrassBlock} />267 </div>268 );269 }270 }271 }272 return displayArr;273 }...

Full Screen

Full Screen

kfc-db.js

Source:kfc-db.js Github

copy

Full Screen

1const cardsData = [2 {3 isAvailable: true,4 imgUrl: './img/cheef-burger.png',5 text: 'Шефбургер Де Люкс',6 price: 149,7 isSpecial: false8 },9 {10 isAvailable: false,11 imgUrl: './img/longer.png',12 text: 'Лонгер',13 price: 55,14 isSpecial: false15 },16 {17 isAvailable: true,18 imgUrl: './img/boxmaster.png',19 text: 'БоксМастер оригинальный',20 price: 199,21 isSpecial: false22 },23 {24 isAvailable: true,25 imgUrl: './img/twister.png',26 text: 'Твистер Острый',27 price: 169,28 isSpecial: false29 },30 {31 isAvailable: true,32 imgUrl: './img/cheef-burger.png',33 text: 'Шефбургер Де Люкс',34 price: 149,35 isSpecial: false36 },37 {38 isAvailable: false,39 imgUrl: './img/longer.png',40 text: 'Лонгер',41 price: 55,42 isSpecial: false43 },44 {45 isAvailable: true,46 imgUrl: './img/boxmaster.png',47 text: 'БоксМастер оригинальный',48 price: 199,49 isSpecial: false50 },51 {52 isAvailable: true,53 imgUrl: './img/twister.png',54 text: 'Твистер Острый',55 price: 169,56 isSpecial: false57 },58 {59 isAvailable: false,60 imgUrl: './img/longer.png',61 text: 'Лонгер',62 price: 55,63 isSpecial: false64 },65 {66 isAvailable: true,67 imgUrl: './img/boxmaster.png',68 text: 'БоксМастер оригинальный',69 price: 199,70 isSpecial: false71 },72 {73 isAvailable: true,74 imgUrl: './img/twister.png',75 text: 'Твистер Острый',76 price: 169,77 isSpecial: false78 },79 {80 isAvailable: false,81 imgUrl: './img/longer.png',82 text: 'Лонгер',83 price: 55,84 isSpecial: false85 },86 {87 isAvailable: true,88 imgUrl: './img/boxmaster.png',89 text: 'БоксМастер оригинальный',90 price: 199,91 isSpecial: false92 },93 {94 isAvailable: true,95 imgUrl: './img/twister.png',96 text: 'Твистер Острый',97 price: 169,98 isSpecial: false99 },100 {101 isAvailable: false,102 imgUrl: './img/longer.png',103 text: 'Лонгер',104 price: 55,105 isSpecial: false106 },107 {108 isAvailable: true,109 imgUrl: './img/boxmaster.png',110 text: 'БоксМастер оригинальный',111 price: 199,112 isSpecial: false113 },114 {115 isAvailable: true,116 imgUrl: './img/twister.png',117 text: 'Твистер Острый',118 price: 169,119 isSpecial: false120 }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var page = wptools.page('Albert Einstein');3page.isSpecial(function(err, result) {4 if (err) {5 console.log(err);6 } else {7 console.log(result);8 }9});10var wptools = require('wptools');11var page = wptools.page('Albert Einstein');12page.isTalk(function(err, result) {13 if (err) {14 console.log(err);15 } else {16 console.log(result);17 }18});19var wptools = require('wptools');20var page = wptools.page('Albert Einstein');21page.isUser(function(err, result) {22 if (err) {23 console.log(err);24 } else {25 console.log(result);26 }27});28var wptools = require('wptools');29var page = wptools.page('Albert Einstein');30page.isUserTalk(function(err, result) {31 if (err) {32 console.log(err);33 } else {34 console.log(result);35 }36});37var wptools = require('wptools');38var page = wptools.page('Albert Einstein');39page.isWikipedia(function(err, result) {40 if (err) {41 console.log(err);42 } else {43 console.log(result);44 }45});46var wptools = require('wptools');47var page = wptools.page('Albert Einstein');48page.isWikipediaTalk(function(err, result) {49 if (err) {50 console.log(err);51 } else {52 console.log(result);53 }54});

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var page = wptools.page('wikipedia');3page.isSpecial(function(err, isSpecial) {4 if (err) {5 console.log(err);6 } else if (isSpecial) {7 console.log('This is a special page.');8 } else {9 console.log('This is not a special page.');10 }11});12var wptools = require('wptools');13var page = wptools.page('wikipedia');14page.getCoordinates(function(err, coordinates) {15 if (err) {16 console.log(err);17 } else {18 console.log(coordinates);19 }20});21var wptools = require('wptools');22var page = wptools.page('wikipedia');23page.getImages(function(err, images) {24 if (err) {25 console.log(err);26 } else {27 console.log(images);28 }29});30var wptools = require('wptools');31var page = wptools.page('wikipedia');32page.getLinks(function(err, links) {33 if (err) {34 console.log(err);35 } else {36 console.log(links);37 }38});39var wptools = require('wptools');40var page = wptools.page('wikipedia');41page.getCategories(function(err, categories) {42 if (err) {43 console.log(err);44 } else {45 console.log(categories);46 }47});48var wptools = require('wptools');49var page = wptools.page('wikipedia');50page.getTemplates(function(err, templates) {51 if (err)

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptextpattern = require("wptextpattern");2var pattern = new wptextpattern("test");3pattern.isSpecial("test");4### wptextpattern(pattern)5### .match(text)6### .isSpecial(text)7MIT © [Vivek Kumar](

Full Screen

Using AI Code Generation

copy

Full Screen

1var wpTextPattern = require('wptextpattern');2var pattern = new wpTextPattern();3var text = "Hello $world$";4var result = pattern.isSpecial(text);5console.log(result);6var wpTextPattern = require('wptextpattern');7var pattern = new wpTextPattern();8var text = "Hello $world$";9var i = 7;10var result = pattern.isSpecialAt(text, i);11console.log(result);12var wpTextPattern = require('wptextpattern');13var pattern = new wpTextPattern();14var text = "Hello $world$";15var i = 7;16var result = pattern.isSpecialAtEnd(text, i);17console.log(result);18var wpTextPattern = require('wptextpattern');19var pattern = new wpTextPattern();20var text = "Hello $world$";21var i = 7;22var result = pattern.isSpecialAtStart(text, i);23console.log(result);24var wpTextPattern = require('wptextpattern');25var pattern = new wpTextPattern();26var text = "Hello $world$";27var result = pattern.isSpecialEnd(text);28console.log(result);29var wpTextPattern = require('wptextpattern');30var pattern = new wpTextPattern();31var text = "Hello $world$";32var result = pattern.isSpecialStart(text);33console.log(result);34var wpTextPattern = require('

Full Screen

Using AI Code Generation

copy

Full Screen

1const {WpTextPattern} = require('./wptextpattern');2const wptextpattern = new WpTextPattern();3const text = 'This is a @test';4console.log(wptextpattern.isSpecial(text));5### isEmail(text)6const {WpTextPattern} = require('./wptextpattern');7const wptextpattern = new WpTextPattern();

Full Screen

Using AI Code Generation

copy

Full Screen

1(function() {2 var editor = CKEDITOR.replace( 'editor1', {3 });4 editor.on( 'instanceReady', function() {5 dataFilter = dataProcessor && dataProcessor.dataFilter;6 if ( dataFilter ) {7 dataFilter.addRules( {8 elements: {9 $: function( element ) {10 if ( element.attributes[ 'data-wp-textpattern' ] ) {11 delete element.name;12 }13 return element;14 }15 }16 }, { applyToAll: true } );17 }18 });19 var button = document.getElementById('button');20 var input = document.getElementById('input');21 button.addEventListener('click', function() {22 var pattern = input.value;23 var text = editor.getData();24 var result = editor.plugins.wptextpattern.isSpecial(text, pattern);25 var div = document.createElement('div');26 div.innerHTML = result;27 document.body.appendChild(div);28 });29})();

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run wpt automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful