mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-09 07:32:34 +02:00
fix bug with empty permission array
This commit is contained in:
@@ -229,6 +229,9 @@ Sonia.repository.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
|
||||
});
|
||||
|
||||
if ( update ){
|
||||
if ( this.item.permissions == null ){
|
||||
this.item.permissions = [];
|
||||
}
|
||||
this.permissionStore.loadData( this.item );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user