Add notifications for document and collection access (#6460)
* Add notification for added to document * Add notifications for document and collection access * Add notification delay * fix: Collection notifications not appearing * Add notification settings
This commit is contained in:
@@ -231,7 +231,17 @@ class Collection extends ParanoidModel<
|
||||
|
||||
// getters
|
||||
|
||||
/**
|
||||
* The frontend path to this collection.
|
||||
*
|
||||
* @deprecated Use `path` instead.
|
||||
*/
|
||||
get url(): string {
|
||||
return this.path;
|
||||
}
|
||||
|
||||
/** The frontend path to this collection. */
|
||||
get path(): string {
|
||||
if (!this.name) {
|
||||
return `/collection/untitled-${this.urlId}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user