diff --git a/pages/settings/applications.vue b/pages/settings/applications.vue index 48333034b..a9df727ee 100644 --- a/pages/settings/applications.vue +++ b/pages/settings/applications.vue @@ -61,7 +61,7 @@ @@ -230,7 +230,7 @@ import { ConfirmModal, } from 'omorphia' import Modal from '~/components/ui/Modal.vue' -import { scopeList, hasScope, toggleScope } from '~/utils/auth/scopes.ts' +import { scopeList, hasScope, toggleScope, getScopeLabel } from '~/utils/auth/scopes.ts' definePageMeta({ middleware: 'auth', @@ -470,11 +470,6 @@ async function removeApp() { } stopLoading() } - -const constCaseToSentenceCase = (str) => { - str = str.replace(/_/g, ' ') - return str[0].toUpperCase() + str.slice(1).toLowerCase() -}