reorder credit card form fields to show collection ID before item ID (#2652)

This commit is contained in:
Prakash Maheshwaran
2025-06-11 23:07:16 -04:00
committed by GitHub
parent 41332c6976
commit 90feb96b0f
2 changed files with 14 additions and 14 deletions

View File

@@ -275,6 +275,13 @@ function WorkflowParameterAddPanel({ type, onClose, onSave }: Props) {
)}
{type === "creditCardData" && (
<>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Collection ID</Label>
<Input
value={bitwardenCollectionId}
onChange={(e) => setBitwardenCollectionId(e.target.value)}
/>
</div>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Item ID</Label>
<Input
@@ -284,13 +291,6 @@ function WorkflowParameterAddPanel({ type, onClose, onSave }: Props) {
}
/>
</div>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Collection ID</Label>
<Input
value={bitwardenCollectionId}
onChange={(e) => setBitwardenCollectionId(e.target.value)}
/>
</div>
</>
)}
{

View File

@@ -331,13 +331,6 @@ function WorkflowParameterEditPanel({
)}
{type === "creditCardData" && (
<>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Item ID</Label>
<Input
value={itemId}
onChange={(e) => setItemId(e.target.value)}
/>
</div>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Collection ID</Label>
<Input
@@ -345,6 +338,13 @@ function WorkflowParameterEditPanel({
onChange={(e) => setCollectionId(e.target.value)}
/>
</div>
<div className="space-y-1">
<Label className="text-xs text-slate-300">Item ID</Label>
<Input
value={itemId}
onChange={(e) => setItemId(e.target.value)}
/>
</div>
</>
)}
{