mirror of
https://github.com/flarum/framework.git
synced 2025-05-21 22:36:01 +08:00
Don't display notifications with deleted subjects
This commit is contained in:
@ -227,6 +227,8 @@ export default class Model {
|
||||
|
||||
return relationship && app.store.getById(relationship.data.type, relationship.data.id);
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
@ -247,6 +249,8 @@ export default class Model {
|
||||
|
||||
return relationship && relationship.data.map(data => app.store.getById(data.type, data.id));
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user