File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ appstore: build-prod
57
57
mkdir -p $(appstore_build_directory )
58
58
tar czf $(appstore_package_name ) .tar.gz \
59
59
--exclude-vcs \
60
+ $(project_directory ) /ajax \
60
61
$(project_directory ) /appinfo \
61
62
$(project_directory ) /css \
62
63
$(project_directory ) /img \
Original file line number Diff line number Diff line change 13
13
"@nextcloud/axios" : " ^1.3.1" ,
14
14
"@nextcloud/l10n" : " ^1.0.1" ,
15
15
"@nextcloud/logger" : " ^1.1.1" ,
16
+ "@nextcloud/router" : " ^1.0.2" ,
16
17
"@nextcloud/vue" : " 1.2.7" ,
17
18
"vue" : " ^2.6.11" ,
18
19
"vue2-datepicker" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 171
171
import axios from ' @nextcloud/axios'
172
172
173
173
import gridMaker from " ./grid.js"
174
- import FormStnSlideBar from " ./components/FormStnSlideBar.vue" ;
175
- import UserStnSlideBar from " ./components/UserStnSlideBar.vue" ;
176
- import MailStnSlideBar from " ./components/MailStnSlideBar.vue" ;
174
+ import FormStnSlideBar from " ./components/FormStnSlideBar.vue"
175
+ import UserStnSlideBar from " ./components/UserStnSlideBar.vue"
176
+ import MailStnSlideBar from " ./components/MailStnSlideBar.vue"
177
+
178
+ import {linkTo } from ' @nextcloud/router'
177
179
178
180
export default {
179
181
name: ' App' ,
399
401
400
402
this .getState (" get_tz" ).then (res => {
401
403
if (res!== null && res .toLowerCase ()!== ' utc' ) {
402
- let url= OC . webroot + ' /apps/ appointments/ ajax/zones.json'
404
+ let url= linkTo ( ' appointments' , ' ajax/zones.json' )
403
405
return axios .get (url).then (tzr => {
404
406
if (tzr .status === 200 ) {
405
407
let tzd= tzr .data
You can’t perform that action at this time.
0 commit comments