router registration
This commit is contained in:
parent
ddb355836a
commit
b19cd97a01
8 changed files with 43 additions and 6 deletions
|
@ -28,6 +28,7 @@ export default abstract class CommunicationService {
|
|||
*/
|
||||
static getAvailableColumnsForCommunication(): Array<string> {
|
||||
let metadata = dataSource.getMetadata(communication);
|
||||
return metadata.columns.map((c) => c.propertyName);
|
||||
let columns = metadata.columns.map((c) => c.propertyName);
|
||||
return columns.filter((c) => !["id", "preffered", "type"].includes(c));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue