✨ Add computed property for tournament details
This commit is contained in:
@@ -464,6 +464,9 @@ const maskedApiKey = computed(() => {
|
|||||||
return apiKey.value.slice(0, 4) + '•••••••' + apiKey.value.slice(-4);
|
return apiKey.value.slice(0, 4) + '•••••••' + apiKey.value.slice(-4);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Tournament details computed from async state
|
||||||
|
const tournamentDetails = computed(() => tournamentDetailsState.data.value);
|
||||||
|
|
||||||
// Create API client reactively based on version, key, and OAuth status
|
// Create API client reactively based on version, key, and OAuth status
|
||||||
const client = computed(() => {
|
const client = computed(() => {
|
||||||
if (apiVersion.value === 'v1') {
|
if (apiVersion.value === 'v1') {
|
||||||
|
|||||||
Reference in New Issue
Block a user