Skip to content

Commit

Permalink
fixup! chore(deps): update imports and changed props from library
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Oct 8, 2023
1 parent 1094911 commit 9baf377
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</NcActionButton>
</NcActions>
<NcButton :disabled="!hasAssigned"
:type="confirmButtonType"
:pressed="!hasUnassigned"
@click="handleSubmit">
{{ confirmButtonLabel }}
</NcButton>
Expand Down Expand Up @@ -198,10 +198,6 @@ export default {
return this.isReorganizingAttendees ? t('spreed', 'Confirm') : t('spreed', 'Create breakout rooms')
},
confirmButtonType() {
return this.hasUnassigned ? 'secondary' : 'primary'
},
resetButtonLabel() {
return t('spreed', 'Reset')
},
Expand Down Expand Up @@ -343,7 +339,7 @@ export default {
width: 100%;
flex-direction: column;
gap: var(--default-grid-baseline);
height: 100%;
height: calc(100% - 42px);
&__section {
margin: calc(var(--default-grid-baseline) * 2) 0 var(--default-grid-baseline) 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ConversationSettings/BotsSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</div>
<div v-if="isLoading[bot.id]" class="bots-settings__item-loader icon icon-loading-small" />
<NcButton class="bots-settings__item-button"
:type="bot.state ? 'primary' : 'secondary'"
:pressed="bot.state"
:disabled="isBotLocked(bot) || isLoading[bot.id]"
@click="toggleBotState(bot)">
{{ toggleButtonTitle(bot) }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ the main body of the message as well as a quote.
:triggers="['hover']">
<template #trigger>
<NcButton v-if="reactions[reaction] !== 0"
:type="userHasReacted(reaction) ? 'primary' : 'secondary'"
:pressed="userHasReacted(reaction)"
class="reaction-button"
@click="handleReactionClick(reaction)">
{{ reaction }} {{ reactions[reaction] }}
Expand Down

0 comments on commit 9baf377

Please sign in to comment.