mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Revert "[ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908)" (#3918)
* Revert "[ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908)"
This reverts commit 457ddb2e39
.
* [ci:force]
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<aca-page-layout>
|
||||
<div class="aca-page-layout-header">
|
||||
<h1 class="aca-page-title">
|
||||
{{ (selectedRowItemsCount < 1 ? 'APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.TITLE' : 'APP.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}
|
||||
</h1>
|
||||
<h1 class="aca-page-title">{{ 'APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.TITLE' | translate }}</h1>
|
||||
<aca-toolbar [items]="actions"></aca-toolbar>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +19,6 @@
|
||||
[sortingMode]="'client'"
|
||||
(node-dblclick)="handleNodeClick($event)"
|
||||
[imageResolver]="imageResolver"
|
||||
(selectedItemsCountChanged)="onSelectedItemsCountChanged($event)"
|
||||
[isResizingEnabled]="true"
|
||||
[blurOnResize]="false"
|
||||
(name-click)="handleNodeClick($event)"
|
||||
|
@@ -33,7 +33,6 @@ import { RouterEffects } from '@alfresco/aca-shared/store';
|
||||
import { of, throwError } from 'rxjs';
|
||||
import { LibraryEffects } from '../../store/effects';
|
||||
import { NodeEntry } from '@alfresco/js-api';
|
||||
import { getTitleElementText } from '../../testing/test-utils';
|
||||
|
||||
describe('FavoriteLibrariesComponent', () => {
|
||||
let fixture: ComponentFixture<FavoriteLibrariesComponent>;
|
||||
@@ -100,17 +99,6 @@ describe('FavoriteLibrariesComponent', () => {
|
||||
expect(component.pagination).toBe(null);
|
||||
expect(component.isLoading).toBe(false);
|
||||
});
|
||||
|
||||
it('should set title based on selectedRowItemsCount', () => {
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(getTitleElementText(fixture)).toBe('APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.TITLE');
|
||||
|
||||
component.selectedRowItemsCount = 5;
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(getTitleElementText(fixture)).toBe('APP.HEADER.SELECTED');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Node navigation', () => {
|
||||
|
Reference in New Issue
Block a user