Fixed {{gh-user-can-admin}} error due to not using .get on proxy object

This commit is contained in:
Kevin Ansfield 2019-01-22 16:25:14 +00:00
parent bea2d8c871
commit 313ff0b669

View File

@ -6,7 +6,7 @@ import {helper} from '@ember/component/helper';
// @param session.user
export function ghUserCanAdmin(params) {
return !!(params[0].isOwnerOrAdmin);
return !!(params[0].get('isOwnerOrAdmin'));
}
export default helper(function (params) {