Skip to content

Commit

Permalink
Merge branch 'minor-fixes' into entity-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Aug 27, 2019
2 parents b0eea9a + 7209bd5 commit 28248d2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
import { Component, Input, OnInit } from '@angular/core';
import { Component, Input } from '@angular/core';

import { IFeatureFlag } from '../../../../../../../../core/src/core/cf-api.types';
import { APIResource } from './../../../../../../../../store/src/types/api.types';
import { TableCellCustom } from '../../../../../../../../core/src/shared/components/list/list.types';

@Component({
selector: 'app-table-cell-feature-flag-state',
templateUrl: './table-cell-feature-flag-state.component.html',
styleUrls: ['./table-cell-feature-flag-state.component.scss']
})
export class TableCellFeatureFlagStateComponent implements OnInit {

@Input() row: APIResource<IFeatureFlag>;
constructor() { }

ngOnInit() {
}

export class TableCellFeatureFlagStateComponent extends TableCellCustom<IFeatureFlag> {
@Input() row: IFeatureFlag;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { APIResource } from '../../../../../../../../store/src/types/api.types';
templateUrl: './table-cell-space-name.component.html',
styleUrls: ['./table-cell-space-name.component.scss']
})
export class TableCellSpaceNameComponent<T> extends TableCellCustom<APIResource<IServiceInstance>> implements OnInit {
export class TableCellSpaceNameComponent extends TableCellCustom<APIResource<IServiceInstance>> implements OnInit {

breadcrumbs: {};
spaceUrl: string[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export const successEntityHandler: SucceedOrFailEntityRequestHandler = (
if (action.removeEntityOnDelete) {
actionDispatcher(new ClearPaginationOfEntity(action, action.guid));
} else {
actionDispatcher(new ClearPaginationOfType(action));
if (action.proxyPaginationEntityConfig) {
actionDispatcher(new ClearPaginationOfType(action.proxyPaginationEntityConfig));
} else {
actionDispatcher(new ClearPaginationOfType(action));
}
}

if (Array.isArray(action.clearPaginationEntityKeys)) {
Expand Down

0 comments on commit 28248d2

Please sign in to comment.