Skip to content

Commit

Permalink
Closes #40.
Browse files Browse the repository at this point in the history
  • Loading branch information
kickscondor committed Dec 18, 2019
1 parent edbd380 commit 18ef291
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/follows.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const storage = require('./storage-platform')
const { alert, confirm } = require('./dialogs')

import { applyOperation } from 'fast-json-patch'
import u from '@kickscondor/umbrellajs'

export default ({
state: {all: {}, started: false},
Expand Down Expand Up @@ -51,7 +52,7 @@ export default ({
link.click()
document.body.removeChild(link)
} else if (patch.op === 'error') {
location.go("/")
u('form button').each(ele => ele.disabled = false)
alert(patch.message)
} else if (patch.op) {
try {
Expand Down

0 comments on commit 18ef291

Please sign in to comment.