| @@ -84,18 +84,21 @@ | |||||
| v-if="item.Category" | v-if="item.Category" | ||||
| :href="'/explore/datasets?category=' + item.Category" | :href="'/explore/datasets?category=' + item.Category" | ||||
| class="ui repo-topic label topic" | class="ui repo-topic label topic" | ||||
| @click.stop | |||||
| >{{ i18n[item.Category] || item.Category }}</a | >{{ i18n[item.Category] || item.Category }}</a | ||||
| > | > | ||||
| <a | <a | ||||
| v-if="item.Task" | v-if="item.Task" | ||||
| :href="'/explore/datasets?task=' + item.Task" | :href="'/explore/datasets?task=' + item.Task" | ||||
| class="ui repo-topic label topic" | class="ui repo-topic label topic" | ||||
| @click.stop | |||||
| >{{ i18n[item.Task] || item.Task }}</a | >{{ i18n[item.Task] || item.Task }}</a | ||||
| > | > | ||||
| <a | <a | ||||
| v-if="item.License" | v-if="item.License" | ||||
| :href="'/explore/datasets?license=' + item.License" | :href="'/explore/datasets?license=' + item.License" | ||||
| class="ui repo-topic label topic" | class="ui repo-topic label topic" | ||||
| @click.stop | |||||
| >{{ item.License }}</a | >{{ item.License }}</a | ||||
| > | > | ||||
| </div> | </div> | ||||
| @@ -111,6 +114,7 @@ | |||||
| <a | <a | ||||
| :href="'/' + item.Repo.OwnerName" | :href="'/' + item.Repo.OwnerName" | ||||
| :title="item.Repo.OwnerName" | :title="item.Repo.OwnerName" | ||||
| @click.stop | |||||
| > | > | ||||
| <img | <img | ||||
| class="ui avatar image" | class="ui avatar image" | ||||
| @@ -477,12 +481,10 @@ export default { | |||||
| } | } | ||||
| }, | }, | ||||
| changeCheckSelected(checked, item) { | changeCheckSelected(checked, item) { | ||||
| if (!checked) { | |||||
| let index = this.selectDatasetArray.findIndex((element) => { | |||||
| return element.ID === item.ID; | |||||
| }); | |||||
| this.selectDatasetArray.splice(index, 1); | |||||
| } | |||||
| let index = this.selectDatasetArray.findIndex((element) => { | |||||
| return element.ID === item.ID; | |||||
| }); | |||||
| this.selectDatasetArray.splice(index, 1); | |||||
| }, | }, | ||||
| postStar(item, isSigned) { | postStar(item, isSigned) { | ||||
| if (!isSigned) { | if (!isSigned) { | ||||