Skip to content

Commit

Permalink
#363 Increment the next version
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsanbagwan authored and Brutus5000 committed Sep 9, 2020
1 parent 0606556 commit ed1b53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/templates/validate_map_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
.done(function (msg) {
$("#mapNameBlock").append('<table class="result">' +
'<tr class="alert alert-success"><th>Map name</th><td>' + msg.displayName + '</td></tr>' +
'<tr class="alert alert-success"><th>Next version</th><td>' + msg.nextVersion + '</td></tr>' +
'<tr class="alert alert-success"><th>Next version</th><td>' + (parseInt(msg.nextVersion, 10) + 1) + '</td></tr>' +
'<tr class="alert alert-success"><th>Folder name</th><td>' + msg.folderName + '</td></tr>' +
'<tr class="alert alert-success"><th>File names</th><td>' + Object.entries(msg.fileNames).map(arr => arr[1]).join(', ') + '</td></tr>' +
'</table>');
Expand Down

0 comments on commit ed1b53e

Please sign in to comment.