Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
temp : false
};
+ egCore.hatch.getItem('cat.copy.alerts.last_type').then(function(t) {
+ if (t) $scope.copy_alert.alert_type = t;
+ });
+
if (copy_list.length == 1) {
$scope.copy_alert_list = copy_list[0].copy_alerts();
}
);
cp.copy_alerts().push( a );
});
+
+ if (copy_alert.alert_type) {
+ egCore.hatch.setItem(
+ 'cat.copy.alerts.last_type',
+ copy_alert.alert_type
+ );
+ }
+
}
$modalInstance.close();