Skip to content

Commit

Permalink
Add language param (#7631)
Browse files Browse the repository at this point in the history
* Add language param

* Add changelog

* Fix linting
  • Loading branch information
lookacat authored Sep 12, 2022
1 parent c794fd4 commit acc6166
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Add language param opening external app

We've added the language param when opening an external app

https://github.com/owncloud/web/issues/7419
https://github.com/owncloud/web/pull/7631
1 change: 1 addition & 0 deletions packages/web-app-external/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default defineComponent({
configUrl +
appOpenUrl +
`?file_id=${fileId}` +
`&lang=${this.$language.current}` +
(this.applicationName ? `&app_name=${this.applicationName}` : '')
const response = await this.makeRequest('POST', url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
</div>
<quota-select
v-if="showQuota"
class="oc-mb-s"
:key="'quota-select-' + user.id"
class="oc-mb-s"
:title="$gettext('Personal quota')"
:total-quota="editUser.drive.quota.total || 0"
@selectedOptionChange="changeSelectedQuotaOption"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<UserInfoBox :user="user" />
<div id="user-group-assignment-form" class="oc-background-highlight oc-p-m">
<oc-select
class="oc-mb-s"
v-model="editUser.memberOf"
class="oc-mb-s"
multiple
:options="groups"
option-label="displayName"
Expand Down

0 comments on commit acc6166

Please sign in to comment.