Skip to content

Commit

Permalink
bugfix, default export whole database when tables is null
Browse files Browse the repository at this point in the history
  • Loading branch information
云数 committed Jan 18, 2017
1 parent 42a365d commit ffdf2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
function handleSubmit(form) {
const data = getFormData(form);

data.tables = data.tables.split(',');
data.tables = data.tables ? data.tables.split(',') : '';
data.directory = data.directory || __dirname + '/models'
data.camelCase = data.camelCase === 'on'

Expand Down

0 comments on commit ffdf2a4

Please sign in to comment.