File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
app/grants/templates/grants/cart Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 16
16
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
17
17
style ="max-width: 7rem;border-radius: 0;font-weight: 600;border-color: #A7A2B6; " />
18
18
< div >
19
- < v-select v-if ="grantsByTenant[0] " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
19
+ < v-select v-if ="grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
20
20
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
21
21
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle checkout-toggle ">
22
22
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 19
19
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
20
20
style ="max-width: 7rem;border-radius: 0;font-weight: 600;border-color: #A7A2B6; " />
21
21
< div >
22
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
22
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
23
23
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
24
24
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle checkout-toggle ">
25
25
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 16
16
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
17
17
style ="max-width: 7rem;border-radius: 0;font-weight: 600;border-color: #A7A2B6; " />
18
18
< div >
19
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
19
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
20
20
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
21
21
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle checkout-toggle ">
22
22
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 16
16
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
17
17
style ="max-width: 7rem;border-radius: 5rem;font-weight: 600;border-color: #A7A2B6; " />
18
18
< div >
19
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
19
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
20
20
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
21
21
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle ">
22
22
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 16
16
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
17
17
style ="max-width: 7rem;border-radius: 5rem;font-weight: 600;border-color: #A7A2B6; " />
18
18
< div >
19
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
19
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
20
20
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
21
21
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle ">
22
22
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 11
11
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
12
12
style ="max-width: 7rem;border-radius: 5rem;font-weight: 600;border-color: #A7A2B6; " />
13
13
< div >
14
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
14
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
15
15
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
16
16
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle ">
17
17
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 11
11
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
12
12
style ="max-width: 7rem;border-radius: 0;font-weight: 600;border-color: #A7A2B6; " />
13
13
< div >
14
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
14
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
15
15
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
16
16
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle checkout-toggle ">
17
17
< template v-slot:option ="option ">
Original file line number Diff line number Diff line change 11
11
< input v-model ="preferredAmount " class ="col-auto form-control w-25 "
12
12
style ="max-width: 7rem;border-radius: 5rem;font-weight: 600;border-color: #A7A2B6; " />
13
13
< div >
14
- < v-select :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
14
+ < v-select v-if =" grantsByTenant.length " :clearable ="false " :reduce ="option => option.symbol " append-to-body :options ="fetchTokens "
15
15
placeholder ="Select token " label ="symbol " v-model ="grantsByTenant[0].grant_donation_currency "
16
16
@input ="updateDonationCurrency(tabSelected) " class ="rounded-toggle ">
17
17
< template v-slot:option ="option ">
You can’t perform that action at this time.
0 commit comments