Skip to content

Commit

Permalink
20415 - Supporting PENDING state for short names (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-barraza authored Jul 22, 2024
1 parent d0ba2c2 commit 500de04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions auth-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.6.52",
"version": "2.6.53",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions auth-web/src/components/pay/ShortNameLookup.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div id="short-name-lookup">
<v-autocomplete
:item-disabled="item => item.statusCode === ShortNameStatus.LINKED"
:item-disabled="item => item.statusCode === ShortNameStatus.LINKED || item.statusCode === ShortNameStatus.PENDING"
:search-input.sync="searchField"
:hide-no-data="state != LookupStates.NO_RESULTS"
:items="searchResults"
Expand Down Expand Up @@ -89,7 +89,7 @@
class="result-action"
>
<span
v-if="item.statusCode === ShortNameStatus.LINKED"
v-if="item.statusCode === ShortNameStatus.LINKED || item.statusCode === ShortNameStatus.PENDING"
class="linked"
>Linked</span>
<span
Expand Down
3 changes: 2 additions & 1 deletion auth-web/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ export enum AffiliationInvitationType {

export enum ShortNameStatus {
LINKED = 'LINKED',
UNLINKED = 'UNLINKED'
UNLINKED = 'UNLINKED',
PENDING = 'PENDING'
}

export enum ShortNamePaymentActions {
Expand Down

0 comments on commit 500de04

Please sign in to comment.