change: remove queryObj from newsletter
This commit is contained in:
parent
f850fc2526
commit
a827185bf1
2 changed files with 0 additions and 4 deletions
|
@ -18,7 +18,6 @@ export default abstract class NewsletterFactory {
|
||||||
newsletterSignatur: record.newsletterSignatur,
|
newsletterSignatur: record.newsletterSignatur,
|
||||||
isSent: record.isSent,
|
isSent: record.isSent,
|
||||||
recipientsByQueryId: record?.recipientsByQuery ? record.recipientsByQuery.id : null,
|
recipientsByQueryId: record?.recipientsByQuery ? record.recipientsByQuery.id : null,
|
||||||
recipientsByQuery: record?.recipientsByQuery ? QueryStoreFactory.mapToSingle(record.recipientsByQuery) : null,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { QueryStoreViewModel } from "../../configuration/queryStore.models";
|
|
||||||
|
|
||||||
export interface NewsletterViewModel {
|
export interface NewsletterViewModel {
|
||||||
id: number;
|
id: number;
|
||||||
title: string;
|
title: string;
|
||||||
|
@ -9,5 +7,4 @@ export interface NewsletterViewModel {
|
||||||
newsletterSignatur: string;
|
newsletterSignatur: string;
|
||||||
isSent: boolean;
|
isSent: boolean;
|
||||||
recipientsByQueryId?: string;
|
recipientsByQueryId?: string;
|
||||||
recipientsByQuery?: QueryStoreViewModel;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue