Browse Source

Merge pull request #36250 from nextcloud/fix/add-success-message-to-personal-settings-button

Add success message to personal settings clipboard button
tags/v26.0.0beta1
Joas Schilling 1 year ago
parent
commit
151523917d
No account linked to committer's email address

+ 2
- 1
apps/federatedfilesharing/src/components/PersonalSettings.vue View File

@@ -87,7 +87,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</template>

<script>
import { showError } from '@nextcloud/dialogs'
import { showError, showSuccess } from '@nextcloud/dialogs'
import { loadState } from '@nextcloud/initial-state'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
@@ -162,6 +162,7 @@ export default {
}
await navigator.clipboard.writeText(this.cloudId)
this.isCopied = true
showSuccess(t('federatedfilesharing', 'Copied!'))
this.$refs.clipboard.$el.focus()
},
goTo(url) {

+ 2
- 2
dist/federatedfilesharing-vue-settings-personal.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/federatedfilesharing-vue-settings-personal.js.map
File diff suppressed because it is too large
View File


Loading…
Cancel
Save