Skip to content

Commit 843fc00

Browse files
cleaned up redundant code
1 parent 85046ff commit 843fc00

6 files changed

Lines changed: 5 additions & 100 deletions

File tree

src/app/admin/admin-model-items/admin-model-items.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
[modal]="true">
126126
<div class="app-dialog grid">
127127
<div class="col-12 md:col-9 lg:col-9">
128-
<h5>{{'price' | translate}}: {{appItem.DisplayPrice}}</h5>
129128
<h5>{{'installed' | translate}}: {{appItem.Installed}}</h5>
130129
<h5>{{'version' | translate}}: {{appItem.Version}}</h5>
131130
<h5>{{'author' | translate}}: {{appItem.Author}}</h5>

src/app/record/item/item/item.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ export class ItemComponent implements OnInit, AfterContentChecked, OnDestroy {
322322
recordSlug: this.recordSlug
323323
});
324324
}
325-
alert("DONE");
326325
this.busyService.hide();
327326
this.messageService.showSuccess(this.translateService.instant('item-deleted'));
328327
}

src/app/shared/services/api.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export class ApiService extends RestClient {
408408
return recordItems;
409409
});
410410
}
411-
411+
412412
@Path('custom/CustomCalendar/getRecordItems/:recordSlug')
413413
public getCalendarItems(getRecordItemsParams: GetRecordItemsParams): Promise<RecordItems> {
414414
const params = {...defaultGetRecordItemsParams, ...getRecordItemsParams};
@@ -422,8 +422,8 @@ export class ApiService extends RestClient {
422422
return recordItems;
423423
});
424424
}
425-
426-
@Path('custom/CustomCalendar/cacheCalender/:recordSlug')
425+
426+
@Path('custom/CustomCalendar/cacheCalendar/:recordSlug')
427427
public cacheCalendar(getRecordItemsParams: GetRecordItemsParams): Promise<RecordItems> {
428428
const params = {...defaultGetRecordItemsParams, ...getRecordItemsParams};
429429
if (isNil(params.recordSlug)) {
@@ -436,7 +436,7 @@ export class ApiService extends RestClient {
436436
return recordItems;
437437
});
438438
}
439-
439+
440440
@Path('RecordItem')
441441
public getRecordItemsFromList(
442442
recordSlug: string,

src/dragula.scss

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { EnvironmentSettings } from './environment-settings';
22

33
export const environment: EnvironmentSettings = {
44
production: true,
5-
apiUrl: 'https://your_backend_URL/restful/',
5+
apiUrl: 'https://your-backend-url.everydatastore.org/restful/',
66
demoMode: false
77
};

src/rtl.scss

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)