Fix URL preview save calls
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
b75be41f94
commit
ef45d82ec6
2 changed files with 6 additions and 3 deletions
|
@ -309,9 +309,9 @@ module.exports = React.createClass({
|
|||
}
|
||||
|
||||
// url preview settings
|
||||
const ps = this.saveUrlPreviewSettings();
|
||||
let ps = this.saveUrlPreviewSettings();
|
||||
if (ps.length > 0) {
|
||||
promises.push(ps);
|
||||
ps.map(p => promises.push(p));
|
||||
}
|
||||
|
||||
// related groups
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue