mirror of
https://github.com/unraid/api.git
synced 2026-01-01 14:10:10 -06:00
fix: activation indicator removed
This commit is contained in:
@@ -91,11 +91,4 @@ describe('ActivationSteps', () => {
|
|||||||
|
|
||||||
expect(wrapper.find('[data-testid="stepper"]').attributes('default-value')).toBe('2');
|
expect(wrapper.find('[data-testid="stepper"]').attributes('default-value')).toBe('2');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('renders separators between steps', () => {
|
|
||||||
const wrapper = mountComponent();
|
|
||||||
const separators = wrapper.findAll('[data-testid="stepper-separator"]');
|
|
||||||
|
|
||||||
expect(separators).toHaveLength(2);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import {
|
|||||||
Stepper,
|
Stepper,
|
||||||
StepperDescription,
|
StepperDescription,
|
||||||
StepperItem,
|
StepperItem,
|
||||||
StepperSeparator,
|
|
||||||
StepperTitle,
|
StepperTitle,
|
||||||
StepperTrigger,
|
StepperTrigger,
|
||||||
} from '@unraid/ui';
|
} from '@unraid/ui';
|
||||||
@@ -75,7 +74,7 @@ const steps: readonly Step[] = [
|
|||||||
<template>
|
<template>
|
||||||
<Stepper :default-value="activeStep" class="text-foreground flex w-full items-start gap-2 text-16px">
|
<Stepper :default-value="activeStep" class="text-foreground flex w-full items-start gap-2 text-16px">
|
||||||
<StepperItem
|
<StepperItem
|
||||||
v-for="(step, index) in steps"
|
v-for="step in steps"
|
||||||
:key="step.step"
|
:key="step.step"
|
||||||
v-slot="{ state }: { state: StepState }"
|
v-slot="{ state }: { state: StepState }"
|
||||||
class="relative flex w-full flex-col items-center justify-center data-[disabled]:opacity-100"
|
class="relative flex w-full flex-col items-center justify-center data-[disabled]:opacity-100"
|
||||||
@@ -111,7 +110,6 @@ const steps: readonly Step[] = [
|
|||||||
</StepperDescription>
|
</StepperDescription>
|
||||||
</div>
|
</div>
|
||||||
</StepperTrigger>
|
</StepperTrigger>
|
||||||
<StepperSeparator v-if="index < steps.length - 1" class="w-[50px] bg-black h-[30px]" />
|
|
||||||
</StepperItem>
|
</StepperItem>
|
||||||
</Stepper>
|
</Stepper>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user