이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
kj
/
mall-app
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
update outlet bookmark API params appneded with mall ID
master
kj1352
5 년 전
부모
b8dea06d71
커밋
8b11321fe3
2개의 변경된 파일
과
6개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/app/mall-details/mall-details.page.ts
+3
-0
src/app/outlet-details/outlet-details.page.ts
+ 3
- 0
src/app/mall-details/mall-details.page.ts
파일 보기
@@ -27,6 +27,9 @@ export class MallDetailsPage implements OnInit {
}
toggleOutletBookmark(outlet) {
outlet.mall = {
mall_id: this.mallDetails.id
};
outlet.is_bookmarked = !outlet.is_bookmarked;
this.mallService.updateOutlet(outlet);
}
+ 3
- 0
src/app/outlet-details/outlet-details.page.ts
파일 보기
@@ -35,6 +35,9 @@ export class OutletDetailsPage implements OnInit {
ngOnInit() { }
toggleOutletBookmark() {
this.outlet_details.mall = {
mall_id: this.mallId
};
this.outlet_details.is_bookmarked = !this.outlet_details.is_bookmarked;
this.mallService.updateOutlet(this.outlet_details);
}
쓰기
미리보기
불러오는 중...
취소
저장