Add basic role management UI
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user