| Index: appengine/config_service/ui/src/config-ui/config-set.html
|
| diff --git a/appengine/config_service/ui/src/config-ui/config-set.html b/appengine/config_service/ui/src/config-ui/config-set.html
|
| index d89fdb05457923fa7177877f0dd997ad810b91b2..917048e5d7a0380b0111429f48ca844349123f06 100644
|
| --- a/appengine/config_service/ui/src/config-ui/config-set.html
|
| +++ b/appengine/config_service/ui/src/config-ui/config-set.html
|
| @@ -37,9 +37,10 @@
|
| <iron-ajax
|
| auto
|
| id="requestConfigs"
|
| - url="/_ah/api/config/v1/config-sets?config_set=[[category]]%2F[[name]]&include_files=true"
|
| + url="/_ah/api/config/v1/config-sets?config_set=[[category]]/[[name]][[route.path]]&include_files=true"
|
| handle-as="json"
|
| - on-response="_onGotConfigFiles">
|
| + on-response="_onGotConfigFiles"
|
| + headers="[[auth_headers]]">
|
| </iron-ajax>
|
|
|
| <div class="center title">
|
| @@ -50,7 +51,7 @@
|
| <template is="dom-if" if="[[isLoading]]">
|
| <div class="center">Fetching config files...</div>
|
| </template>
|
| - <template is="dom-if" if="[[_not(isLoading)]]">
|
| + <template is="dom-if" if="[[!isLoading]]">
|
| <template is="dom-repeat" items="[[files]]" as="file">
|
| <config-file-card
|
| name="[[file.path]]" link="[[location]]/[[file.path]]">
|
| @@ -90,10 +91,6 @@
|
| if (category === "services") return "Service";
|
| },
|
|
|
| - _not: function(b) {
|
| - return !b;
|
| - },
|
| -
|
| _onGotConfigFiles: function(event) {
|
| this.files = event.detail.response.config_sets[0].files;
|
| this.location = event.detail.response.config_sets[0].location;
|
|
|