[ARVADOS] updated: 1.3.0-202-g608588c42

Git user git at public.curoverse.com
Tue Jan 29 15:59:34 EST 2019


Summary of changes:
 apps/workbench/app/assets/javascripts/components/edit_tags.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  608588c422589ae885a90294b233e02ce94f5bed (commit)
      from  163c8f8750193b791eb62f5a8d73dc44a006b69e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 608588c422589ae885a90294b233e02ce94f5bed
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Tue Jan 29 17:58:50 2019 -0300

    14738: Uses templates to build strings whenever possible.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/apps/workbench/app/assets/javascripts/components/edit_tags.js b/apps/workbench/app/assets/javascripts/components/edit_tags.js
index e7083b145..912a14a73 100644
--- a/apps/workbench/app/assets/javascripts/components/edit_tags.js
+++ b/apps/workbench/app/assets/javascripts/components/edit_tags.js
@@ -9,7 +9,7 @@ window.SimpleInput = {
                 width: '100%',
             },
             type: 'text',
-            placeholder: 'Add ' + vnode.attrs.placeholder,
+            placeholder: `Add ${vnode.attrs.placeholder}`,
             value: vnode.attrs.value,
             onchange: function() {
                 if (this.value != '') {
@@ -187,16 +187,16 @@ window.TagEditorApp = {
         // Get vocabulary
         vnode.state.vocabulary = m.stream({"strict":false, "tags":{}})
         var vocabularyTimestamp = parseInt(Date.now() / 300000) // Bust cache every 5 minutes
-        m.request('/vocabulary.json?v=' + vocabularyTimestamp).then(vnode.state.vocabulary)
+        m.request(`/vocabulary.json?v=${vocabularyTimestamp}`).then(vnode.state.vocabulary)
         vnode.state.editMode = vnode.attrs.targetEditable
         vnode.state.tags = []
         vnode.state.dirty = m.stream(false)
         vnode.state.dirty.map(m.redraw)
-        vnode.state.objPath = 'arvados/v1/' + vnode.attrs.targetController + '/' + vnode.attrs.targetUuid
+        vnode.state.objPath = `arvados/v1/${vnode.attrs.targetController}/${vnode.attrs.targetUuid}`
         // Get tags
         vnode.state.sessionDB.request(
             vnode.state.sessionDB.loadLocal(),
-            'arvados/v1/' + vnode.attrs.targetController,
+            `arvados/v1/${vnode.attrs.targetController}`,
             {
                 data: {
                     filters: JSON.stringify([['uuid', '=', vnode.attrs.targetUuid]]),

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list