This commit is contained in:
Satsuki Yanagi
2019-09-12 21:27:44 +09:00
committed by syuilo
parent c9e33f665e
commit c3f9b2dcc3
3 changed files with 9 additions and 9 deletions

View File

@ -509,7 +509,7 @@ export default Vue.extend({
saveBlockedHosts() {
this.$root.api('admin/update-meta', {
blockedHosts: this.blockedHosts.split('\n')
blockedHosts: this.blockedHosts ? this.blockedHosts.split('\n') : []
}).then(() => {
this.$root.dialog({
type: 'success',