diff options
author | Jakob <jakob.roehrl@web.de> | 2019-11-28 21:19:09 +0300 |
---|---|---|
committer | Jakob <jakob.roehrl@web.de> | 2019-11-28 21:19:09 +0300 |
commit | c73e919829fd43d0f133609a8457790d447baa13 (patch) | |
tree | 65e4abb55ffe34762fb1d8d041b1fd9254d88b22 /src | |
parent | 893b8974a091af019681cd7669133287edac5655 (diff) |
1st try
Signed-off-by: Jakob <jakob.roehrl@web.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/Photos.vue | 2 | ||||
-rw-r--r-- | src/services/MapsInstalled.js | 26 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/Photos.vue b/src/Photos.vue index acd5057a..bb477f00 100644 --- a/src/Photos.vue +++ b/src/Photos.vue @@ -22,6 +22,7 @@ <template> <Content app-name="photos"> + {{MapsInstalled}} <AppNavigation> <AppNavigationItem :to="{name: 'root'}" class="app-navigation__photos" @@ -53,6 +54,7 @@ import AppNavigationItem from '@nextcloud/vue/dist/Components/AppNavigationItem' import svgplaceholder from './assets/file-placeholder.svg' import imgplaceholder from './assets/image.svg' import videoplaceholder from './assets/video.svg' +import MapsInstalled from './services/MapsInstalled' export default { name: 'Photos', diff --git a/src/services/MapsInstalled.js b/src/services/MapsInstalled.js new file mode 100644 index 00000000..2290e67f --- /dev/null +++ b/src/services/MapsInstalled.js @@ -0,0 +1,26 @@ +/** + * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com> + * + * @author John Molakvoæ <skjnldsv@protonmail.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 { loadState } from '@nextcloud/initial-state' + +const maps = loadState('maps') +export default maps |