✨ Improve readability by reformatting computed properties and function calls
This commit is contained in:
@@ -373,7 +373,9 @@ const hasChallongeClientCredentials = computed(
|
||||
const isChallongeClientCredentialsValid = computed(
|
||||
() => challengeClientCreds.isAuthenticated.value
|
||||
);
|
||||
const challongeClientId = computed(() => challengeClientCreds.maskedClientId.value);
|
||||
const challongeClientId = computed(
|
||||
() => challengeClientCreds.maskedClientId.value
|
||||
);
|
||||
const challongeClientExpiresIn = computed(
|
||||
() => challengeClientCreds.tokenInfo.value?.expiresIn
|
||||
);
|
||||
@@ -446,7 +448,10 @@ function disconnectChallongeOAuth() {
|
||||
|
||||
function saveChallongeClientCredentials() {
|
||||
try {
|
||||
challengeClientCreds.saveCredentials(newClientId.value, newClientSecret.value);
|
||||
challengeClientCreds.saveCredentials(
|
||||
newClientId.value,
|
||||
newClientSecret.value
|
||||
);
|
||||
newClientId.value = '';
|
||||
newClientSecret.value = '';
|
||||
successMessage.value = 'Client credentials saved!';
|
||||
|
||||
Reference in New Issue
Block a user