-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #839 from arawa/fix/hide-menu-on-group-rename
Well Done @acdmft 😉
- Loading branch information
Showing
3 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<!-- | ||
@copyright Copyright (c) 2017 Arawa | ||
@copyright Copyright (c) 2017 Arawa | ||
|
||
@author 2021 Baptiste Fotia <baptiste.fotia@arawa.fr> | ||
@author 2021 Cyrille Bollu <[email protected]> | ||
@author 2021 Baptiste Fotia <baptiste.fotia@arawa.fr> | ||
@author 2021 Cyrille Bollu <[email protected]> | ||
|
||
@license GNU AGPL version 3 or any later version | ||
@license GNU AGPL version 3 or any later version | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<template> | ||
|
@@ -39,7 +39,7 @@ | |
</NcActionButton> | ||
</NcActions> | ||
</div> | ||
<NcActions> | ||
<NcActions ref="ncAction"> | ||
<NcActionButton v-if="!$store.getters.isGEorUGroup($route.params.space, $route.params.group)" | ||
v-show="!showRenameGroupInput" | ||
icon="icon-rename" | ||
|
@@ -112,6 +112,7 @@ export default { | |
onRenameGroup(e) { | ||
// Hides NcActionInput | ||
this.toggleShowRenameGroupInput() | ||
this.$refs.ncAction.opened = false | ||
|
||
// Don't accept empty names | ||
let group = e.target[0].value | ||
|