Skip to content

Commit 20b74fd

Browse files
committed
Format code in project shopapp-frontend
1 parent c958fef commit 20b74fd

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

shopapp-angular/src/app/components/home/home.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.product-category {
1717
width: 200px;
1818
}
19-
19+
2020
.search-input {
2121
width: 300px;
2222
background-color: $shopapp-background-color;

shopapp-angular/src/app/dtos/category/update.category.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export class UpdateCategoryDTO {
1212
constructor(data: any) {
1313
this.name = data.name
1414
}
15-
}
15+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export interface Category {
22
id: number;
33
name: string;
4-
}
4+
}

shopapp-angular/src/app/models/order.detail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export interface OrderDetail {
99
number_of_products: number;
1010
total_money: number;
1111
color?: string; // Dấu "?" cho biết thuộc tính này là tùy chọn
12-
}
12+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export interface ProductImage {
22
id: number;
33
image_url: string;
4-
}
4+
}

shopapp-angular/src/app/models/product.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ export interface Product {
99
category_id: number;
1010
url: string;
1111
product_images: ProductImage[];
12-
}
12+
}
1313

1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export interface Role {
22
id: number;
33
name: string;
4-
}
4+
}

shopapp-angular/src/app/models/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export interface User {
1111
facebook_account_id: number;
1212
google_account_id: number;
1313
role: Role;
14-
}
14+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export interface LoginResponse {
22
message: string;
33
token: string;
4-
}
4+
}

shopapp-angular/src/app/services/coupon.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { InsertCategoryDTO } from '../dtos/category/insert.category.dto'
1212
export class CouponService {
1313

1414
private apiBaseUrl = environment.apiBaseUrl
15-
15+
1616
constructor(private http: HttpClient) {
1717
}
1818

shopapp-angular/src/app/services/http.util.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export class HttpUtilService {
1111
'Accept-Language': 'vi'
1212
})
1313
}
14-
}
14+
}

shopapp-angular/src/app/services/role.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export class RoleService {
1515
getRoles(): Observable<any> {
1616
return this.http.get<any[]>(this.apiGetRoles)
1717
}
18-
}
18+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: true,
33
apiBaseUrl: 'http://localhost:8099/api/v1'//Docker Ubuntu
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: false,
33
apiBaseUrl: 'http://localhost:8088/api/v1'
4-
}
4+
}

shopapp-angular/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
</style>
1515
</head>
16-
16+
1717
<body>
1818
<!-- <app-home></app-home> -->
1919
<!-- <app-detail-product></app-detail-product> -->

shopapp-angular/src/main.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { AppComponent } from './app/app/app.component'
33
import { config } from './app/app.config.server'
44

55
const bootstrap = () => bootstrapApplication(AppComponent, config)
6-
6+
77
export default bootstrap

0 commit comments

Comments
 (0)