Skip to content

Commit

Permalink
AMP-2532:
Browse files Browse the repository at this point in the history
- show task manager only after unit selected
  • Loading branch information
yingfeng-iu committed Aug 8, 2024
1 parent 88e3da2 commit d6fb5ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/entity/EntityList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
</div>
<div
class="col-6 text-left form-group"
v-if="baseUrl === 'unit'"
v-if="baseUrl === 'unit' && unitEntity.currentUnit"
>
<label>Task Manager:</label>
<select
Expand Down Expand Up @@ -836,10 +836,6 @@
"
v-if="purpose"
>
<div class="col-3" v-if="baseUrl == 'unit'">
<label>Task Manager</label>
<p class="mb-0">{{ elem.taskManager }}</p>
</div>
<div class="col-2" v-if="baseUrl == 'collection'">
<label>Source Name</label>
<p class="mb-0">{{ elem.externalSource }}</p>
Expand Down Expand Up @@ -1509,7 +1505,7 @@ export default {
async mounted() {
const self = this;
console.log ("EntityList.mounted(): showLoader = " + this.showLoader);
console.log ("EntityList.mounted start: showLoader = " + this.showLoader);
// retrieve configProperties if not yet populated
if (!self.configProperties || Object.keys(self.configProperties).length === 0) {
Expand Down Expand Up @@ -1547,6 +1543,7 @@ export default {
}
this.showLoader = false;
console.log ("EntityList.mounted end: showLoader = " + this.showLoader);
},
};
</script>
Expand Down

0 comments on commit d6fb5ab

Please sign in to comment.