Skip to content

Commit

Permalink
cancel on esc (#1933)
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerkoser authored Jun 24, 2024
1 parent 790ffd1 commit 006f052
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Members/GMemberDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SPDX-License-Identifier: Apache-2.0
v-model="visible"
max-width="650"
persistent
@keydown.esc="cancel"
>
<v-card>
<g-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/Members/GMemberHelpDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: Apache-2.0
<v-dialog
v-model="visible"
max-width="650"
@keydown.esc="hide"
>
<v-card>
<g-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/Secrets/GSecretDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: Apache-2.0
<v-dialog
v-model="visible"
max-width="850"
@keydown.esc="cancel"
>
<v-card>
<g-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/Secrets/GSecretDialogDelete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: Apache-2.0
<v-dialog
v-model="visible"
max-width="800"
@keydown.esc="hide"
>
<v-card>
<g-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/dialogs/GDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SPDX-License-Identifier: Apache-2.0
scrollable
:width="width"
max-width="90vw"
@keydown.esc="resolveAction(false)"
>
<v-card>
<v-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/dialogs/GProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SPDX-License-Identifier: Apache-2.0
persistent
scrollable
max-width="600"
@keydown.esc="cancel"
>
<v-card>
<g-toolbar
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/GMembers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ SPDX-License-Identifier: Apache-2.0
v-model="kubeconfigDialog"
persistent
max-width="67%"
@keydown.esc="kubeconfigDialog = false"
>
<v-card>
<v-card-title class="bg-toolbar-background text-toolbar-title d-flex">
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/GShootList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ SPDX-License-Identifier: Apache-2.0
v-model="clusterAccessDialog"
persistent
max-width="850"
@keydown.esc="hideDialog"
>
<v-card>
<g-toolbar>
Expand Down

0 comments on commit 006f052

Please sign in to comment.