Merge remote-tracking branch 'origin/master'

This commit is contained in:
2026-01-26 08:24:09 +09:00
165 changed files with 2947 additions and 487 deletions

View File

@@ -300,7 +300,7 @@ export function UniversalListPage<T>({
setSelectedItem(item);
setIsModalOpen(true);
} else if (detailMode === 'page') {
router.push(`/${locale}${config.basePath}/${id}`);
router.push(`/${locale}${config.basePath}/${id}?mode=view`);
}
},
[config.basePath, config.detailMode, getItemId, locale, router]
@@ -309,13 +309,13 @@ export function UniversalListPage<T>({
const handleEdit = useCallback(
(item: T) => {
const id = getItemId(item);
router.push(`/${locale}${config.basePath}/${id}/edit`);
router.push(`/${locale}${config.basePath}/${id}?mode=edit`);
},
[config.basePath, getItemId, locale, router]
);
const handleCreate = useCallback(() => {
router.push(`/${locale}${config.basePath}/new`);
router.push(`/${locale}${config.basePath}?mode=new`);
}, [config.basePath, locale, router]);
// ===== 삭제 핸들러 =====