Skip to content

Commit

Permalink
Gray out repeat buttons that don't make sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 11, 2024
1 parent 21f8bc8 commit 266a7cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/Form/FormRepeat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ const { keyObject } = useKeyedObjects();
<b-button
:id="getButtonId(cacheId, 'up')"
v-b-tooltip.hover.bottom
:disabled="cacheId == 0"
title="move up"
role="button"
variant="link"
Expand All @@ -143,6 +144,7 @@ const { keyObject } = useKeyedObjects();
<b-button
:id="getButtonId(cacheId, 'down')"
v-b-tooltip.hover.bottom
:disabled="cacheId >= props.input.cache?.length - 1"
title="move down"
role="button"
variant="link"
Expand Down

0 comments on commit 266a7cf

Please sign in to comment.