Last active
February 24, 2019 16:22
-
-
Save Imperat/9f78525c52f0fc9dffd71cc58fd385d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<my-text-input v-if="userHasPermission('team.internalNotes', VISIBLE)" | |
label="Team Internal Notes" | |
:disabled="!userHasPermission('team.internalNotes', EDITABLE)" /> | |
<my-text-input v-if="userHasPermission('team.budget', VISIBLE)" | |
label="Total Team Budget" | |
:disabled="!userHasPermission('team.budget', EDITABLE)" /> | |
<my-time-input v-if="userHasPermission('team.trainingTime', VISIBLE)" | |
label="Next Training Time" | |
:disabled="!userHasPermission('team.trainingTime', EDITABLE)" /> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment