chore: Remove older UI (#11720)

This commit is contained in:
Sivin Varghese
2025-07-01 09:43:44 +05:30
committed by GitHub
parent 58da92a252
commit 24ea968b00
369 changed files with 974 additions and 9363 deletions

View File

@@ -6,10 +6,10 @@ import { required, minLength, email } from '@vuelidate/validators';
import globalConfigMixin from 'shared/mixins/globalConfigMixin';
import FormInput from '../../../../components/Form/Input.vue';
import { resetPassword } from '../../../../api/auth';
import SubmitButton from '../../../../components/Button/SubmitButton.vue';
import NextButton from 'dashboard/components-next/button/Button.vue';
export default {
components: { FormInput, SubmitButton },
components: { FormInput, NextButton },
mixins: [globalConfigMixin],
setup() {
return { v$: useVuelidate() };
@@ -98,10 +98,14 @@ export default {
:placeholder="$t('RESET_PASSWORD.EMAIL.PLACEHOLDER')"
@input="v$.credentials.email.$touch"
/>
<SubmitButton
<NextButton
lg
type="submit"
data-testid="submit_button"
class="w-full"
:label="$t('RESET_PASSWORD.SUBMIT')"
:disabled="v$.credentials.email.$invalid || resetPassword.showLoading"
:button-text="$t('RESET_PASSWORD.SUBMIT')"
:loading="resetPassword.showLoading"
:is-loading="resetPassword.showLoading"
/>
</div>
<p class="mt-4 -mb-1 text-sm text-n-slate-11">