Add basic role management UI

This commit is contained in:
Lukas Hirt
2020-08-21 11:45:03 +02:00
committed by Benedikt Kulmann
parent 2cf9e918ba
commit 72c31b4ebf
4 changed files with 182 additions and 17 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* Asserts wheter the given object is empty
* @param {Object} obj Object to be checked
* @returns {Boolean}
*/
export function isObjectEmpty (obj) {
return Object.keys(obj).length === 0 && obj.constructor === Object
}