FIX: Key mapping
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
:key="appStore.selectedKey || 'no-key'"
|
:key="deviceStore.currentProfileName + appStore.selectedKey || 'no-profile'"
|
||||||
class="overflow-hidden rounded-lg border border-zinc-800 bg-zinc-900/50"
|
class="overflow-hidden rounded-lg border border-zinc-800 bg-zinc-900/50"
|
||||||
>
|
>
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template :key="deviceStore.currentProfileName + appStore.selectedKey || 'no-profile'">
|
||||||
<ConfigSection :title="`${appStore.selectedKey} Pressed`" :icon-component="PanelBottomClose">
|
<ConfigSection :title="`${appStore.selectedKey} Pressed`" :icon-component="PanelBottomClose">
|
||||||
<template #title>
|
<template #title>
|
||||||
<span class="text-zinc-500"> ({{ pressedActions.length }})</span></template
|
<span class="text-zinc-500"> ({{ pressedActions.length }})</span></template
|
||||||
|
|||||||
Reference in New Issue
Block a user