UrlPreviewSettings doesnt have a saveSettings method anymore, which I think is intentional
This commit is contained in:
parent
7bbc302975
commit
3c3aa9197c
1 changed files with 0 additions and 11 deletions
|
@ -310,12 +310,6 @@ module.exports = React.createClass({
|
||||||
promises.push(p);
|
promises.push(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// url preview settings
|
|
||||||
const ps = this.saveUrlPreviewSettings();
|
|
||||||
if (ps.length > 0) {
|
|
||||||
ps.map((p) => promises.push(p));
|
|
||||||
}
|
|
||||||
|
|
||||||
// related groups
|
// related groups
|
||||||
promises.push(this.saveRelatedGroups());
|
promises.push(this.saveRelatedGroups());
|
||||||
|
|
||||||
|
@ -346,11 +340,6 @@ module.exports = React.createClass({
|
||||||
return this.refs.color_settings.saveSettings();
|
return this.refs.color_settings.saveSettings();
|
||||||
},
|
},
|
||||||
|
|
||||||
saveUrlPreviewSettings: function() {
|
|
||||||
if (!this.refs.url_preview_settings) { return Promise.resolve(); }
|
|
||||||
return this.refs.url_preview_settings.saveSettings();
|
|
||||||
},
|
|
||||||
|
|
||||||
saveEnableEncryption: function() {
|
saveEnableEncryption: function() {
|
||||||
if (!this.refs.encrypt) { return Promise.resolve(); }
|
if (!this.refs.encrypt) { return Promise.resolve(); }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue