Skip to content

Commit

Permalink
fix: 🎨 display se-connecter (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carolinedanslesnuages authored Dec 11, 2024
1 parent e506f59 commit d51c275
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 48 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/dispatch.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Main CI
on:
push:
branches:
- dev
- main
pull_request:
branches:
- dev
- main

jobs:
build-backend:
Expand Down
24 changes: 12 additions & 12 deletions client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@ interface QuickLink {
const unauthenticatedQuickLinks = ref([]);
// authentication.createLoginUrl({ redirectUri: window.location.href }).then((loginUrlLink) => {
unauthenticatedQuickLinks.value = [
// {
// label: "Se connecter",
// to: loginUrlLink, // URL temporaire
// icon: "ri-lock-line",
// iconAttrs: { title: "Se connecter" },
// },
authentication.createLoginUrl({ redirectUri: window.location.href }).then((loginUrlLink) => {
unauthenticatedQuickLinks.value = [
{
label: "Se connecter",
to: loginUrlLink,
icon: "ri-lock-line",
iconAttrs: { title: "Se connecter" },
},
];
});
const authenticatedQuickLinks: QuickLink[] = [
{
label: "Rechercher une application",
to: { name: routeNames.SEARCHAPP },
},
];
// });
const authenticatedQuickLinks: QuickLink[] = [
{
label: "Déconnexion",
to: authentication.createLogoutUrl(),
Expand Down

0 comments on commit d51c275

Please sign in to comment.