Compare commits
No commits in common. "9f57182fc1d77b152cb0539de9952aa68e101504" and "68fa1b8c2d69d52787b1937d2787730f6e966a5d" have entirely different histories.
9f57182fc1
...
68fa1b8c2d
@ -182,10 +182,10 @@ class QueryABC(ObjectType):
|
|||||||
if filter is not None:
|
if filter is not None:
|
||||||
collection = filter.filter(collection)
|
collection = filter.filter(collection)
|
||||||
|
|
||||||
if sort is not None:
|
|
||||||
collection = sort.filter(collection)
|
|
||||||
|
|
||||||
if page is not None:
|
if page is not None:
|
||||||
collection = page.filter(collection)
|
collection = page.filter(collection)
|
||||||
|
|
||||||
|
if sort is not None:
|
||||||
|
collection = sort.filter(collection)
|
||||||
|
|
||||||
return collection
|
return collection
|
||||||
|
@ -11,15 +11,15 @@ export class HistoryBtnComponent implements OnInit {
|
|||||||
@Input() history: History[] = [];
|
@Input() history: History[] = [];
|
||||||
@Input() translationKey: string = "";
|
@Input() translationKey: string = "";
|
||||||
|
|
||||||
public showSidebar: boolean = false;
|
showSidebar = false;
|
||||||
|
|
||||||
public constructor() {
|
constructor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
public openHistory(): void {
|
openHistory(): void {
|
||||||
this.showSidebar = true;
|
this.showSidebar = true;
|
||||||
let oldHistory: Partial<History> = {};
|
let oldHistory: Partial<History> = {};
|
||||||
for (const history of this.history) {
|
for (const history of this.history) {
|
||||||
@ -36,7 +36,7 @@ export class HistoryBtnComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public getAttributeTranslationKey(key: string): string {
|
getAttributeTranslationKey(key: string) {
|
||||||
return `common.history.${key}`;
|
return `common.history.${key}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user