Fix App logs page modal show different model icon. (#1224)

This commit is contained in:
Rhon Joe
2023-09-27 08:54:52 +08:00
committed by GitHub
parent fd9413874a
commit 8eae643911
9 changed files with 56 additions and 46 deletions

View File

@@ -38,9 +38,9 @@ const CardView: FC<ICardViewProps> = ({ appId }) => {
message ||= (type === 'success' ? 'modifiedSuccessfully' : 'modifiedUnsuccessfully')
if (type === 'success') {
if (type === 'success')
mutate(detailParams)
}
notify({
type,
message: t(`common.actionMsg.${message}`),
@@ -79,7 +79,7 @@ const CardView: FC<ICardViewProps> = ({ appId }) => {
if (!err)
localStorage.setItem(NEED_REFRESH_APP_LIST_KEY, '1')
handleCallbackResult(err)
handleCallbackResult(err)
}
const onGenerateCode = async () => {