File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 99 SlashCommandContext ,
1010} from "@rocket.chat/apps-engine/definition/slashcommands" ;
1111import { persistUIData } from "../utils/persistenceHandlers" ;
12- import { improveModal } from "./ImproveCommand .modal" ;
12+ import { testcasesModal } from "./TestcasesCommand .modal" ;
1313
1414export class TestcasesCommand implements ISlashCommand {
1515 public command = "rcc-testcases" ;
@@ -35,7 +35,7 @@ export class TestcasesCommand implements ISlashCommand {
3535 await modify
3636 . getUiController ( )
3737 . openSurfaceView (
38- await improveModal ( ) ,
38+ await testcasesModal ( ) ,
3939 { triggerId } ,
4040 context . getSender ( )
4141 ) ;
Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ import {
1414 IMPROVE_COMMAND_MODAL ,
1515 improveModalSubmitHandler ,
1616} from "../commands/ImproveCommand.modal" ;
17+ import {
18+ TESTCASES_COMMAND_MODAL ,
19+ testcasesModalSubmitHandler ,
20+ } from "../commands/TestcasesCommand.modal" ;
1721import { getUIData } from "./persistenceHandlers" ;
1822
1923const MODALS : Record < string , any > = {
2024 [ IMPROVE_COMMAND_MODAL ] : improveModalSubmitHandler ,
2125 [ FIND_SIMILAR_COMMAND_MODAL ] : findSimilarModalSubmitHandler ,
26+ [ TESTCASES_COMMAND_MODAL ] : testcasesModalSubmitHandler ,
2227} ;
2328
2429export async function handleModalViewSubmit (
You can’t perform that action at this time.
0 commit comments