I couldn't figure out how to display the string for the table headings at some points. This should be fixed later on.
A not very elegant but very much functional method would be to write a function which returns the respective string for each ENUM which gets explicitly returns with a switch case. This function should be in the role.ts file in the classes folder. It's signature could be "getEnumStringValue(role: Role)"
Other solutions are of course possible too.
They should be used and fitted in the respective positions in the source code.
I couldn't figure out how to display the string for the table headings at some points. This should be fixed later on.
A not very elegant but very much functional method would be to write a function which returns the respective string for each ENUM which gets explicitly returns with a switch case. This function should be in the role.ts file in the classes folder. It's signature could be "getEnumStringValue(role: Role)"
Other solutions are of course possible too.
They should be used and fitted in the respective positions in the source code.