Fix Loaddata Voting

Voting – User
- app/(application)/(user)/voting/(tabs)/status.tsx
- app/(application)/(user)/voting/create.tsx

Screens – Voting
- screens/Voting/ButtonStatusSection.tsx

API Client
- service/api-client/api-voting.ts

Global
- app/+not-found.tsx
- styles/global-styles.ts

Docs
- docs/prompt-for-qwen-code.md

Untracked (New Files)
- screens/Voting/ScreenStatus.tsx

### No issue
This commit is contained in:
2026-02-04 17:44:57 +08:00
parent 5b2be20469
commit d0abd14047
8 changed files with 162 additions and 118 deletions

View File

@@ -36,7 +36,7 @@ export default function Voting_ButtonStatusSection({
type: "success",
text1: response.message,
});
router.back();
router.replace(`/voting/${id}/draft/detail`);
} else {
Toast.show({
type: "info",
@@ -73,7 +73,7 @@ export default function Voting_ButtonStatusSection({
type: "success",
text1: response.message,
});
router.back();
router.replace(`/voting/${id}/review/detail`);
} else {
Toast.show({
type: "info",
@@ -110,7 +110,7 @@ export default function Voting_ButtonStatusSection({
type: "success",
text1: response.message,
});
router.back();
router.replace(`/voting/${id}/draft/detail`);
} else {
Toast.show({
type: "info",