We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99908f9 + d690b99 commit ba53f9fCopy full SHA for ba53f9f
1 file changed
app/assets/javascripts/activeadmin/quill_editor_input.js
@@ -73,6 +73,9 @@
73
method: 'POST'
74
}).then(response => response.json())
75
.then(result => {
76
+ if (!result.url) {
77
+ reject('Upload failed')
78
+ }
79
resolve(result.url);
80
})
81
.catch(error => {
0 commit comments