File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,15 @@ export function ApplicationsList({
116116
117117 setApplicationsData ( [ ...applicationsData ] ) ;
118118
119+ } else {
120+
121+ actions . sendApproval ( guild . id , applications . filter ( x => x . userSnowflake === data . userid ) [ 0 ] . _id ) ;
122+
123+ const indx2 = data . approvals . indexOf ( data . approvals . filter ( x => x . authorSnowflake === consts . me . id ) [ 0 ] ) ;
124+ data . approvals . splice ( indx2 , 1 ) ;
125+ applicationsData [ indx ] = data ;
126+
127+ setApplicationsData ( [ ...applicationsData ] ) ;
119128 }
120129
121130 } } >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const TranscriptsTableColuns: ColumnDef<TranscriptsTableData>[] = [
2525 variant = "ghost"
2626 onClick = { ( ) => {
2727 const value = column . getFilterValue ( ) ;
28- console . log ( value )
28+
2929
3030 switch ( value ) {
3131 case "Jail" :
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const DEFAULT_APPROVAL : Approval = {
3939}
4040
4141export const DEFAULT_APPLICATION : Application = {
42- "_id" : "et " ,
42+ "_id" : "asdc " ,
4343 "guildSnowflake" : "569929112932712469" ,
4444 "userSnowflake" : "1235341250782302312" ,
4545 "submitDate" : "1738798549229" ,
You can’t perform that action at this time.
0 commit comments