Fix missing ship names

This commit is contained in:
Colin McLeod
2015-05-26 01:15:45 -07:00
parent c03c7f3274
commit 196e24f99d

View File

@@ -4,13 +4,14 @@ angular.module('app').controller('ImportController', ['$scope', '$stateParams',
$scope.errorMsg = null;
$scope.canEdit = true;
$scope.builds = $stateParams.obj || null;
$scope.ships = Ships;
$scope.validateJson = function() {
var importObj = null;
$scope.jsonValid = false;
$scope.errorMsg = null;
$scope.builds = null;
$scope.ships = Ships;
if (!$scope.importData) { return; }