Skip to content

Commit 89e0750

Browse files
authored
【bug】Webapp fix error TS2551: Property 'nameEn' does not exist on type 'ColumnType'. Did you mean 'name'? (#2051)
1 parent d942d35 commit 89e0750

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

assembly/bin/supersonic-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ function packageRelease {
5656
# package webapp
5757
tar xvf supersonic-webapp.tar.gz
5858
mv supersonic-webapp webapp
59+
# check webapp build result
60+
if [ $? -ne 0 ]; then
61+
echo "Failed to get supersonic webapp package."
62+
exit 1
63+
fi
5964
json='{"env": "''"}'
6065
echo $json > webapp/supersonic.config.json
6166
mv webapp $release_dir/

webapp/packages/chat-sdk/src/typings.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ type TopNConfig = {
9494

9595
type ColumnType = {
9696
name: string;
97+
nameEn: string;
9798
type: string;
9899
};
99100

0 commit comments

Comments
 (0)