Skip to content

Commit

Permalink
Add missing noblur value to modals. Closes #713 (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
qtchaos authored Nov 21, 2023
1 parent a5739fa commit 4b1a3eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion theseus_gui/src/components/ui/AccountsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</Button>
</Card>
</transition>
<Modal ref="loginModal" class="modal" header="Signing in">
<Modal ref="loginModal" class="modal" header="Signing in" :noblur="!themeStore.advancedRendering">
<div class="modal-body">
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
<div class="modal-text">
Expand Down Expand Up @@ -114,6 +114,7 @@ import {
} from '@/helpers/auth'
import { get, set } from '@/helpers/settings'
import { handleError } from '@/store/state.js'
import { useTheming } from '@/store/theme.js'
import { mixpanel_track } from '@/helpers/mixpanel'
import QrcodeVue from 'qrcode.vue'
import { process_listener } from '@/helpers/events'
Expand All @@ -130,6 +131,7 @@ const emit = defineEmits(['change'])
const loginCode = ref(null)
const themeStore = useTheming()
const settings = ref({})
const accounts = ref([])
const loginUrl = ref('')
Expand Down
4 changes: 3 additions & 1 deletion theseus_gui/src/components/ui/tutorial/LoginCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import { Button, LogInIcon, Modal, ClipboardCopyIcon, GlobeIcon, Card } from 'omorphia'
import { authenticate_await_completion, authenticate_begin_flow } from '@/helpers/auth.js'
import { handleError } from '@/store/notifications.js'
import { useTheming } from '@/store/theme.js'
import mixpanel from 'mixpanel-browser'
import { get, set } from '@/helpers/settings.js'
import { ref } from 'vue'
import QrcodeVue from 'qrcode.vue'
const themeStore = useTheming()
const loginUrl = ref(null)
const loginModal = ref()
const loginCode = ref(null)
Expand Down Expand Up @@ -94,7 +96,7 @@ const clipboardWrite = async (a) => {
</div>
</Card>
</div>
<Modal ref="loginModal" header="Signing in">
<Modal ref="loginModal" header="Signing in" :noblur="!themeStore.advancedRendering">
<div class="modal-body">
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
<div class="modal-text">
Expand Down

0 comments on commit 4b1a3eb

Please sign in to comment.