improvements are done
This commit is contained in:
@@ -177,13 +177,8 @@ export class ItemsListComponent implements OnInit {
|
||||
}
|
||||
|
||||
goBack() {
|
||||
const subcategoryId = this.subcategoryId();
|
||||
if (subcategoryId) {
|
||||
// Navigate back to subcategory editor
|
||||
this.router.navigate(['/subcategory', subcategoryId]);
|
||||
} else {
|
||||
this.router.navigate(['/']);
|
||||
}
|
||||
// Navigate back to the project view
|
||||
this.router.navigate(['/project', this.projectId()]);
|
||||
}
|
||||
|
||||
addItem() {
|
||||
|
||||
Reference in New Issue
Block a user