Skip to content

Commit 5edfd82

Browse files
committed
fix: activation indicator removed
1 parent 0379845 commit 5edfd82

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

web/__test__/components/Activation/ActivationSteps.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,4 @@ describe('ActivationSteps', () => {
9191

9292
expect(wrapper.find('[data-testid="stepper"]').attributes('default-value')).toBe('2');
9393
});
94-
95-
it('renders separators between steps', () => {
96-
const wrapper = mountComponent();
97-
const separators = wrapper.findAll('[data-testid="stepper-separator"]');
98-
99-
expect(separators).toHaveLength(2);
100-
});
10194
});

web/components/Activation/ActivationSteps.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
Stepper,
1111
StepperDescription,
1212
StepperItem,
13-
StepperSeparator,
1413
StepperTitle,
1514
StepperTrigger,
1615
} from '@unraid/ui';
@@ -75,7 +74,7 @@ const steps: readonly Step[] = [
7574
<template>
7675
<Stepper :default-value="activeStep" class="text-foreground flex w-full items-start gap-2 text-16px">
7776
<StepperItem
78-
v-for="(step, index) in steps"
77+
v-for="step in steps"
7978
:key="step.step"
8079
v-slot="{ state }: { state: StepState }"
8180
class="relative flex w-full flex-col items-center justify-center data-[disabled]:opacity-100"
@@ -111,7 +110,6 @@ const steps: readonly Step[] = [
111110
</StepperDescription>
112111
</div>
113112
</StepperTrigger>
114-
<StepperSeparator v-if="index < steps.length - 1" class="w-[50px] bg-black h-[30px]" />
115113
</StepperItem>
116114
</Stepper>
117115
</template>

0 commit comments

Comments
 (0)