Skip to content

Commit

Permalink
Revert "Update MyTeamEditorComponent.vue"
Browse files Browse the repository at this point in the history
This reverts commit c744517.
  • Loading branch information
ok200manami committed Sep 17, 2024
1 parent c744517 commit b36b349
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions resources/js/Components/App/MyTeamEditorComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,12 @@ function searchCountry() {
</div>
</div>

<div v-else>
<div class="flex justify-between items-center">
<div @click="updatingCountry = true" class="cursor-pointer flex-grow mr-2">
{{ newCountry.name }} ({{ newCountry.currency_code }})
</div>
<div class="ml-2" v-if="searchStr.length > 0 && newCountry.id !== myTeam.country_id">
<PrimaryButton @click="saveNewCountry()">Save</PrimaryButton>
</div>
<div v-else class="flex justify-between items-center">
<div @click="updatingCountry = true" class="cursor-pointer flex-grow mr-2">
{{ newCountry.name }} ({{ newCountry.currency_code }})
</div>
<div v-if="searchStr.length > 0 && newCountry.id !== myTeam.country_id" class="text-red-500 text-xs font-bold mt-2">
*Swapping a team's country will NOT update the selected currency for existing voucher sets
<div class="ml-2">
<PrimaryButton @click="saveNewCountry()" v-if="searchStr.length > 0 && newCountry.id !== myTeam.country_id">Save</PrimaryButton>
</div>
</div>
</div>
Expand Down

0 comments on commit b36b349

Please sign in to comment.