hunk.code_window:       Notifications.success('Stack successfully deployed');
         return ResourceControlService.applyResourceControl('stack', name, userId, accessControlData, [])
         .then(function success() {
           $state.go('docker.stacks');
         })
         .catch(function error(err) {
           Notifications.error('Failure', err, 'Unable to apply resource control on the stack');
         });
       })
       .catch(function error(err) {
         Notifications.warning('Deployment error', err.err.data.err);
       })
       .finally(function final() {
  
hunk.labels: keep replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:       $state.go('docker.stacks');
  
hunk.file_path: app/docker/views/stacks/create/createStackController.js
hunk.type: replace
file: angular.module('portainer.app').component('registriesDatatable', {
    templateUrl: 'app/portainer/components/datatables/registries-datatable/registriesDatatable.html',
    controller: 'GenericDatatableController',
    bindings: {
      title: '@',
      titleIcon: '@',
      dataset: '<',
      tableKey: '@',
      orderBy: '@',
      reverseOrder: '<',
      showTextFilter: '<',
      accessManagement: '<',
      removeAction: '<'
    }
  });
  