Add portfolio website link field and card open-link control.
Stay on the current list page after move-to-top; only toast success. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
85524544ca
commit
c289de5d2e
@@ -182,11 +182,7 @@ export function PortfolioListPage() {
|
||||
try {
|
||||
await updatePortfolio(id, { moveToTop: true })
|
||||
showToast(t('portfolio.list.toast.movedUp'), 'success')
|
||||
// Absolute top lives on page 1 — jump there so the move is visible.
|
||||
writeListQuery(appliedName, appliedCategoryId, 1)
|
||||
if (currentPage === 1) {
|
||||
await loadPortfolios(1)
|
||||
}
|
||||
await loadPortfolios(currentPage)
|
||||
} catch (err) {
|
||||
if (err instanceof ApiError) {
|
||||
setError(err.message)
|
||||
|
||||
Reference in New Issue
Block a user