diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-06-29 18:46:37 +0000 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-07-15 10:16:06 +0200 |
commit | 44763576b1180c84b645fcd7017eceaeeeedb094 (patch) | |
tree | 7db924e79a46d49ddbc2f2fbb9e672238a6f1ea7 /apps/settings/src/main-personal-info.js | |
parent | de6e55075bc940ad4b576ba1874ad58960dba11c (diff) | |
download | nextcloud-server-44763576b1180c84b645fcd7017eceaeeeedb094.tar.gz nextcloud-server-44763576b1180c84b645fcd7017eceaeeeedb094.zip |
Make emails Vuetiful
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/src/main-personal-info.js')
-rw-r--r-- | apps/settings/src/main-personal-info.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/apps/settings/src/main-personal-info.js b/apps/settings/src/main-personal-info.js new file mode 100644 index 00000000000..8edbd29669f --- /dev/null +++ b/apps/settings/src/main-personal-info.js @@ -0,0 +1,38 @@ +/** + * @copyright 2021, Christopher Ng <chrng8@gmail.com> + * + * @author Christopher Ng <chrng8@gmail.com> + * + * @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 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/>. + * + */ + +import Vue from 'vue' + +import logger from './logger' + +import EmailSection from './components/PersonalInfo/EmailSection/EmailSection' + +// eslint-disable-next-line camelcase +__webpack_nonce__ = btoa(OC.requestToken) + +Vue.prototype.t = t +Vue.prototype.logger = logger + +const View = Vue.extend(EmailSection) +export default new View({ + el: '#vue-emailsection', +}) |