Skip to content

Commit

Permalink
Merge pull request #787 from traPtitech/fix/qall-channel-link
Browse files Browse the repository at this point in the history
Qallの通話中チャンネル表示のリンクが違っていた
  • Loading branch information
sapphi-red authored May 5, 2020
2 parents 6428da1 + 4ea7d77 commit 0178b26
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,18 @@ export default defineComponent({
},
setup(props) {
const styles = useStyles(props)
const { channelIdToShortPathString } = useChannelPath()
const {
channelIdToShortPathString,
channelIdToPathString
} = useChannelPath()
const channelName = computed(() =>
channelIdToShortPathString(props.channelId)
)
const channelLink = computed(() => constructChannelPath(channelName.value))
const channelLink = computed(() =>
constructChannelPath(channelIdToPathString(props.channelId))
)
const micIconName = computed(() =>
props.isMicMuted ? 'microphone-off' : 'microphone'
)
Expand Down

0 comments on commit 0178b26

Please sign in to comment.