Skip to content

Commit

Permalink
chore: teams search spotlight improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
amk-dev committed Mar 22, 2024
1 parent 2844e84 commit 9956d5c
Showing 1 changed file with 19 additions and 0 deletions.
Expand Up @@ -65,6 +65,25 @@ export class TeamsSpotlightSearcherService
immediate: true,
}
)

// set the search section title based on the current workspace
const teamName = computed(() => {
return (
(this.workspaceService.currentWorkspace.value.type === "team" &&
this.workspaceService.currentWorkspace.value.teamName) ||
this.t("team.search_title")
)
})

watch(
teamName,
(teamName) => {
this.searcherSectionTitle = teamName
},
{
immediate: true,
}
)
})

const onSessionEnd = () => {
Expand Down

0 comments on commit 9956d5c

Please sign in to comment.