Skip to content

Commit f0e9d0c

Browse files
Reggie CushingReggie Cushing
authored andcommitted
change $q to q to remove vue warning
1 parent 69ed9ee commit f0e9d0c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/DownloadButton.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
type="a"
99
download="CITATION.cff"
1010
v-bind:href="downloadUrl"
11-
v-bind:class="$q.platform.is.mobile ? 'full-width' : ''"
11+
v-bind:class="q.platform.is.mobile ? 'full-width' : ''"
1212
/>
1313
</template>
1414

@@ -25,9 +25,9 @@ export default defineComponent({
2525
name: 'DownloadButton',
2626
setup () {
2727
const { cffstr } = useCffstr()
28-
const $q = useQuasar()
28+
const q = useQuasar()
2929
return {
30-
$q,
30+
q,
3131
downloadUrl: computed(() => toDownloadUrl(cffstr.value))
3232
}
3333
}

src/components/ScreenFinishMinimum.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
size="xl"
3434
to="/identifiers"
3535
v-on:click="showAdvanced"
36-
v-bind:class="$q.platform.is.mobile ? 'full-width' : ''"
36+
v-bind:class="q.platform.is.mobile ? 'full-width' : ''"
3737
/>
3838
</div>
3939
</div>
@@ -60,9 +60,9 @@ export default defineComponent({
6060
setup () {
6161
const { setShowAdvanced, setStepName } = useApp()
6262
const { errors } = useValidation()
63-
const $q = useQuasar()
63+
const q = useQuasar()
6464
return {
65-
$q,
65+
q,
6666
isValidCFF: computed(() => errors.value.length === 0),
6767
showAdvanced: async () => {
6868
setShowAdvanced(true)

0 commit comments

Comments
 (0)