Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
be350289
Commit
be350289
authored
Dec 19, 2017
by
Andrea Ida Malkah Klaura
Browse files
fixed rendering warning and prep for pv REST API
parent
1f8bf739
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/dev.env.js
View file @
be350289
...
...
@@ -4,5 +4,8 @@ const prodEnv = require('./prod.env')
module
.
exports
=
merge
(
prodEnv
,
{
NODE_ENV
:
'
"development"
'
,
API_STEERING
:
'
"https://autoradio-testing.o94.at/api.php"
'
API_STEERING
:
'
"https://autoradio-testing.o94.at/api.php"
'
,
API_STEERING_SHOWS
:
'
"https://autoradio-testing.o94.at/api.php"
'
,
//API_STEERING: '"http://127.0.0.1:8000/api/v1/"',
//API_STEERING_SHOWS: '"http://127.0.0.1:8000/api/v1/shows/"'
})
src/components/Header.vue
View file @
be350289
...
...
@@ -20,7 +20,7 @@
<b-navbar-toggle
target=
"nav_collapse"
></b-navbar-toggle>
<b-collapse
is-nav
id=
"nav_collapse"
>
<b-navbar-nav>
<b-nav-item
v-for=
"mod in modules"
:to=
"mod.slug"
>
{{
mod
.
title
}}
</b-nav-item>
<b-nav-item
v-for=
"mod in modules"
:key=
"mod.slug"
:to=
"mod.slug"
>
{{
mod
.
title
}}
</b-nav-item>
</b-navbar-nav>
<b-navbar-nav
class=
"ml-auto"
>
<b-nav-item-dropdown
text=
"EN"
right
>
...
...
src/components/ShowManager.vue
View file @
be350289
...
...
@@ -201,8 +201,9 @@ export default {
query
:
'
shows
'
,
api_key
:
'
D1EB23A42F
'
},
{
emulateJSON
:
true
}).
then
(
response
=>
{
if
(
response
.
body
.
hasOwnProperty
(
'
error
'
))
alert
(
response
.
body
.
error
)
else
{
if
(
response
.
body
.
hasOwnProperty
(
'
error
'
))
{
alert
(
response
.
body
.
error
)
}
else
{
this
.
shows
=
response
.
body
this
.
currentShowID
=
this
.
shows
[
0
].
id
this
.
currentShow
=
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment