hide archived repositories by default

This commit is contained in:
Sebastian Sdorra
2012-03-30 10:50:49 +02:00
parent 29f4a9e8f2
commit 278dfaf92a

View File

@@ -179,6 +179,13 @@ Sonia.repository.Grid = Ext.extend(Sonia.rest.Grid, {
}
console.debug( msg );
}
if ( state.clientConfig.enableRepositoryArchive ){
if ( !this.filterRequest ){
this.filterRequest = {};
}
this.filterRequest.archived = false;
}
var config = {
autoExpandColumn: 'description',