fix: Add gitlabUrl calculation logic and update link references

- Use the useMemo hook to calculate gitlabUrl in the SaveGitlabProvider component.
- Update link references to use the dynamically generated gitlabUrl, ensuring links correctly point to the corresponding GitLab repositories.
This commit is contained in:
croatialu
2025-07-11 11:55:16 +08:00
parent 320b927aac
commit 70e08c96eb
2 changed files with 13 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ export const gitlabRouter = createTRPCRouter({
gitProvider: {
...provider.gitProvider,
},
gitlabUrl: provider.gitlabUrl,
};
});