Browse Source

fix: test fail

pull/5627/head
DarkPhoenix2704 2 years ago
parent
commit
aacf229f03
  1. 7
      packages/nc-gui/components/account/ResetPassword.vue
  2. 2
      packages/nc-gui/components/account/UsersModal.vue

7
packages/nc-gui/components/account/ResetPassword.vue

@ -119,7 +119,12 @@ const resetError = () => {
</a-form-item>
<div class="text-right">
<a-button size="middle" data-testid="nc-user-settings-form__submit" class="!rounded-md !h-[2.5rem]" type="primary">
<a-button
size="middle"
data-testid="nc-user-settings-form__submit"
class="!rounded-md scaling-btn !h-[2.5rem]"
type="primary"
>
<div class="flex justify-center items-center gap-2">
<component :is="iconMap.passwordChange" />
{{ $t('activity.changePwd') }}

2
packages/nc-gui/components/account/UsersModal.vue

@ -125,7 +125,7 @@ const emailInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus()
<div class="px-2 mt-1.5">
<template v-if="usersData.invitationToken">
<div class="flex flex-col mt-1=pb-5">
<div class="flex flex-col mt-1 pb-5">
<div class="flex flex-row items-center pl-1.5 pb-1 h-[1.1rem]">
<component :is="iconMap.account" />
<div class="text-xs ml-0.5 mt-0.5">Copy Invite Token</div>

Loading…
Cancel
Save