Closed ramzan closed 4 years ago
Looks great, thanks a lot!
Just one stylistic comment: in EteSync we always have multilines ifs, so:
if (this.itemUndefined(itemUid)) {return PageNotFound()}
should be:
if (this.itemUndefined(itemUid)) {
return PageNotFound();
}
Fix this, and it can be merged.
Great job, and thanks again!
Didn't mean to close it :facepalm:
Fixed.
Before rendering the page, check if the item exists. If it doesn't, show a 404 page instead.
Fixes #3