|
@ -29,6 +29,7 @@ |
|
|
> |
|
|
> |
|
|
<v-col> |
|
|
<v-col> |
|
|
<approve-button |
|
|
<approve-button |
|
|
|
|
|
v-if="canViewApproveButton" |
|
|
:approved="approved" |
|
|
:approved="approved" |
|
|
:disabled="currentDoc ? false : true" |
|
|
:disabled="currentDoc ? false : true" |
|
|
/> |
|
|
/> |
|
@ -111,7 +112,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
computed: { |
|
|
computed: { |
|
|
...mapGetters('projects', ['getLink', 'getCurrentUserRole', 'getFilterOption']), |
|
|
|
|
|
|
|
|
...mapGetters('projects', ['getLink', 'getCurrentUserRole', 'getFilterOption', 'canViewApproveButton']), |
|
|
...mapState('documents', ['loading', 'total']), |
|
|
...mapState('documents', ['loading', 'total']), |
|
|
...mapGetters('documents', ['currentDoc', 'approved']), |
|
|
...mapGetters('documents', ['currentDoc', 'approved']), |
|
|
page: { |
|
|
page: { |
|
|