Improve readability by reformatting computed properties and function calls

This commit is contained in:
2026-01-29 21:24:42 +00:00
parent db8c4fff2c
commit 553f7b1aef

View File

@@ -373,7 +373,9 @@ const hasChallongeClientCredentials = computed(
const isChallongeClientCredentialsValid = computed( const isChallongeClientCredentialsValid = computed(
() => challengeClientCreds.isAuthenticated.value () => challengeClientCreds.isAuthenticated.value
); );
const challongeClientId = computed(() => challengeClientCreds.maskedClientId.value); const challongeClientId = computed(
() => challengeClientCreds.maskedClientId.value
);
const challongeClientExpiresIn = computed( const challongeClientExpiresIn = computed(
() => challengeClientCreds.tokenInfo.value?.expiresIn () => challengeClientCreds.tokenInfo.value?.expiresIn
); );
@@ -446,7 +448,10 @@ function disconnectChallongeOAuth() {
function saveChallongeClientCredentials() { function saveChallongeClientCredentials() {
try { try {
challengeClientCreds.saveCredentials(newClientId.value, newClientSecret.value); challengeClientCreds.saveCredentials(
newClientId.value,
newClientSecret.value
);
newClientId.value = ''; newClientId.value = '';
newClientSecret.value = ''; newClientSecret.value = '';
successMessage.value = 'Client credentials saved!'; successMessage.value = 'Client credentials saved!';