Skip to content

Commit

Permalink
fix(frontend): edit allocation name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 17, 2024
1 parent 8053a38 commit e54ace6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@
v-model="newAllocationName"
type="text"
class="bg-bg-input w-full rounded-lg p-4"
maxlength="32"
placeholder="e.g. Secondary allocation"
/>
</div>
<div class="mb-1 mt-4 flex justify-end gap-4">
<Button transparent @click="editAllocationModal?.hide()"> Cancel </Button>
<Button color="primary" @click="editAllocation"> <SaveIcon /> Update Allocation </Button>
<Button color="primary" :disabled="!newAllocationName" @click="editAllocation">
<SaveIcon /> Update Allocation
</Button>
</div>
</UiServersPyroModal>
</Modal>
Expand Down

0 comments on commit e54ace6

Please sign in to comment.