You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/10/07 20:11:00 UTC

[jira] [Commented] (AIRAVATA-3527) Fix custom bootstrap vue table cell rendering

    [ https://issues.apache.org/jira/browse/AIRAVATA-3527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425774#comment-17425774 ] 

ASF subversion and git services commented on AIRAVATA-3527:
-----------------------------------------------------------

Commit f4766ffc7a1bd358332973e9079a6c0fad2168ae in airavata-django-portal's branch refs/heads/master from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=f4766ff ]

AIRAVATA-3527 Fix custom bootstrap vue table cell rendering


> Fix custom bootstrap vue table cell rendering
> ---------------------------------------------
>
>                 Key: AIRAVATA-3527
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3527
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Blocker
>
> We recently upgraded to a newer version of Bootstrap Vue (AIRAVATA-2809) and in more recent versions the way you provide custom rendering of table cells changed.
> The old style was to provide a scoped slot with the name of the field (column) that you want to provide rendering for:
> {code}
> <template slot="creationDate" slot-scope="data">
> ...
> </template>
> {code}
> But [the new style is use {{'cell(' + field key + ')'}}|https://bootstrap-vue.org/docs/components/table#scoped-field-slots]:
> {code}
> <template slot="cell(creationDate)" slot-scope="data">
> ...
> </template>
> {code}
> We missed a few of these places and in some cases there is just no rendering like in the Sharing Editor, and in some cases there is unformatted data.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)