Commit b1011f43a524886904615b876e3bfac8c926aee4
1 parent
785ac983
Fix for import rule chains without type
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -310,7 +310,7 @@ export default function ImportExport($log, $translate, $q, $mdDialog, $document, | @@ -310,7 +310,7 @@ export default function ImportExport($log, $translate, $q, $mdDialog, $document, | ||
310 | return false; | 310 | return false; |
311 | } | 311 | } |
312 | if (angular.isUndefined(ruleChainImport.ruleChain.type)) { | 312 | if (angular.isUndefined(ruleChainImport.ruleChain.type)) { |
313 | - return false; | 313 | + ruleChainImport.ruleChain.type = types.ruleChainType.core; |
314 | } | 314 | } |
315 | return true; | 315 | return true; |
316 | } | 316 | } |