mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Do not show the Edit UI when error accessing the dataset
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{{ messageText | l }}
|
||||
</b-alert>
|
||||
<DatasetAttributesProvider :id="datasetId" v-slot="{ result, loading }" @error="onError">
|
||||
<div v-if="!loading" class="mt-3">
|
||||
<div v-if="!loading && !hasError" class="mt-3">
|
||||
<b-tabs>
|
||||
<b-tab v-if="!result['attribute_disable']">
|
||||
<template v-slot:title>
|
||||
@@ -121,6 +121,11 @@ export default {
|
||||
formData: {},
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
hasError() {
|
||||
return this.messageVariant === "danger";
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onAttribute(data) {
|
||||
this.formData["attribute"] = data;
|
||||
|
||||
Reference in New Issue
Block a user