File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3157,7 +3157,10 @@ impl LDNApplication {
3157
3157
) )
3158
3158
} ) ?;
3159
3159
return Err ( LDNError :: Load ( information. to_string ( ) ) ) ;
3160
- } else if app_file. lifecycle . get_state ( ) == AppState :: TotalDatacapReached {
3160
+ } else if app_file. lifecycle . get_state ( ) == AppState :: TotalDatacapReached
3161
+ || ( app_file. lifecycle . get_state ( ) == AppState :: Granted
3162
+ && !app_file. lifecycle . is_active )
3163
+ {
3161
3164
let new_requested_amount = parse_size_to_bytes (
3162
3165
& parsed_ldn. datacap . total_requested_amount ,
3163
3166
)
@@ -3223,7 +3226,10 @@ impl LDNApplication {
3223
3226
let branch_name = LDNPullRequest :: application_branch_name ( & application_id) ;
3224
3227
let uuid = uuidv4:: uuid:: v4 ( ) ;
3225
3228
3226
- let pr_title = if app_file. lifecycle . get_state ( ) == AppState :: TotalDatacapReached {
3229
+ let pr_title = if app_file. lifecycle . get_state ( ) == AppState :: TotalDatacapReached
3230
+ || ( app_file. lifecycle . get_state ( ) == AppState :: Granted
3231
+ && !app_file. lifecycle . is_active )
3232
+ {
3227
3233
format ! ( "Reopen application for {}" , parsed_ldn. client. name. clone( ) )
3228
3234
} else {
3229
3235
format ! ( "Issue modification for {}" , parsed_ldn. client. name. clone( ) )
You can’t perform that action at this time.
0 commit comments