mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
node locking enhancements and fixes (#955)
* optimize image resolver * allow previewing locked files * allow selecting locked nodes * fix comments and metadata tabs * improved lock checks * remove obsolete "experimental" directive
This commit is contained in:
@@ -38,7 +38,6 @@ import { ContentManagementService } from '../../services/content-management.serv
|
||||
|
||||
import { RecentFilesComponent } from './recent-files.component';
|
||||
import { AppTestingModule } from '../../testing/app-testing.module';
|
||||
import { ExperimentalDirective } from '../../directives/experimental.directive';
|
||||
|
||||
describe('RecentFilesComponent', () => {
|
||||
let fixture: ComponentFixture<RecentFilesComponent>;
|
||||
@@ -66,8 +65,7 @@ describe('RecentFilesComponent', () => {
|
||||
NodeFavoriteDirective,
|
||||
DocumentListComponent,
|
||||
RecentFilesComponent,
|
||||
AppConfigPipe,
|
||||
ExperimentalDirective
|
||||
AppConfigPipe
|
||||
],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
});
|
||||
|
@@ -79,11 +79,6 @@ export class RecentFilesComponent extends PageComponent implements OnInit {
|
||||
|
||||
onNodeDoubleClick(node: MinimalNodeEntity) {
|
||||
if (node && node.entry) {
|
||||
if (PageComponent.isLockedNode(node.entry)) {
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
this.showPreview(node);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user