]> source.dussan.org Git - nextcloud-server.git/commit
Handle close GlobalSearchModal gracefully
authorfenn-cs <fenn25.fn@gmail.com>
Tue, 28 Nov 2023 10:01:31 +0000 (11:01 +0100)
committerAndy Scherzinger <info@andy-scherzinger.de>
Wed, 29 Nov 2023 14:18:11 +0000 (15:18 +0100)
commit0d938cc90ed6ed9c42e15ea1198e0ed813db50cd
tree2e91e720eb1c64e858cce9b5e56bd99e4fcb111b
parent8f7a138c5cfcdfee650ba2ac7e469b85dc19c556
Handle close GlobalSearchModal gracefully

The current close infrastructure modifies a prop which has
 no real effect aside bugs.

In addition, calling the `NcModal.close()` as the primary way to
 close the search modal instead of using the states defined in `GlobalSearch` view
 causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff).

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
core/src/views/GlobalSearch.vue
core/src/views/GlobalSearchModal.vue