FEATURE: allow staff to select existing message via ID or URL

This commit is contained in:
Arpit Jalan 2019-01-14 15:29:05 +05:30
parent aeeead351a
commit 59e3eecfa6
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ export default Ember.Component.extend({
searchForTerm(title, {
typeFilter: "private_messages",
searchForId: true
searchForId: true,
restrictToArchetype: "private_message"
}).then(results => {
if (results && results.posts && results.posts.length > 0) {
this.set(