mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
Add RuPay to list of card brands (#785)
Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
parent
7b9826fb28
commit
28d15bfe2a
@ -108,6 +108,7 @@ export class AddEditComponent implements OnInit {
|
||||
{ name: "JCB", value: "JCB" },
|
||||
{ name: "Maestro", value: "Maestro" },
|
||||
{ name: "UnionPay", value: "UnionPay" },
|
||||
{ name: "RuPay", value: "RuPay" },
|
||||
{ name: i18nService.t("other"), value: "Other" },
|
||||
];
|
||||
this.cardExpMonthOptions = [
|
||||
|
@ -19,6 +19,7 @@ const cardIcons: Record<string, string> = {
|
||||
JCB: "card-jcb",
|
||||
Maestro: "card-maestro",
|
||||
UnionPay: "card-union-pay",
|
||||
RuPay: "card-ru-pay",
|
||||
};
|
||||
|
||||
@Component({
|
||||
|
BIN
angular/src/images/cards/ru_pay-dark.png
Normal file
BIN
angular/src/images/cards/ru_pay-dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 797 B |
BIN
angular/src/images/cards/ru_pay-light.png
Normal file
BIN
angular/src/images/cards/ru_pay-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 874 B |
@ -8,6 +8,7 @@ $card-icons: (
|
||||
"maestro": $card-icons-base + "maestro-light.png",
|
||||
"mastercard": $card-icons-base + "mastercard-light.png",
|
||||
"union-pay": $card-icons-base + "union_pay-light.png",
|
||||
"ru-pay": $card-icons-base + "ru_pay-light.png",
|
||||
);
|
||||
|
||||
$card-icons-dark: (
|
||||
@ -19,6 +20,7 @@ $card-icons-dark: (
|
||||
"maestro": $card-icons-base + "maestro-dark.png",
|
||||
"mastercard": $card-icons-base + "mastercard-dark.png",
|
||||
"union-pay": $card-icons-base + "union_pay-dark.png",
|
||||
"ru-pay": $card-icons-base + "ru_pay-dark.png",
|
||||
);
|
||||
|
||||
.credit-card-icon {
|
||||
|
Loading…
Reference in New Issue
Block a user