Browse Source

fix: make btn primary

pull/5627/head
DarkPhoenix2704 2 years ago
parent
commit
c0428fdb8a
  1. 1
      packages/nc-gui/components/dashboard/settings/Modal.vue
  2. 2
      packages/nc-gui/components/tabs/auth/ApiTokenManagement.vue
  3. 2
      packages/nc-gui/components/tabs/auth/UserManagement.vue

1
packages/nc-gui/components/dashboard/settings/Modal.vue

@ -219,6 +219,7 @@ watch(
<div v-if="vDataState === ''" class="flex flex-row justify-end items-center w-full gap-1">
<a-button
v-if="dataSourcesAwakened"
type="primary"
class="self-start !rounded-md nc-btn-new-datasource"
@click="vDataState = DataSourcesSubTab.New"
>

2
packages/nc-gui/components/tabs/auth/ApiTokenManagement.vue

@ -175,7 +175,7 @@ onMounted(() => {
</a-button>
<!-- Add New Token -->
<a-button size="middle" class="!rounded-md" @click="openNewTokenModal">
<a-button type="primary" size="middle" class="!rounded-md" @click="openNewTokenModal">
<div class="flex flex-row justify-center items-center caption capitalize space-x-1">
<component :is="iconMap.plus" />
<div>{{ $t('activity.newToken') }}</div>

2
packages/nc-gui/components/tabs/auth/UserManagement.vue

@ -240,7 +240,7 @@ const isSuperAdmin = (user: { main_roles?: string }) => {
v-if="isUIAllowed('newUser')"
v-e="['c:user:invite']"
size="middle"
type="default"
type="primary"
class="nc-invite-team !rounded-md"
@click="onInvite"
>

Loading…
Cancel
Save