Commit 5fe993b3 authored by Fatih Acet's avatar Fatih Acet

Implement Cycle Analytics frontend.

parent ba25e2f1
...@@ -58,13 +58,12 @@ ...@@ -58,13 +58,12 @@
$dropdown.find('li a').on('click', (e) => { $dropdown.find('li a').on('click', (e) => {
e.preventDefault(); e.preventDefault();
const $target = $(e.currentTarget); const $target = $(e.currentTarget);
$label.text($target.text().trim()); const value = $target.data('value');
value = $target.data('value');
$label.text($target.text().trim());
this.vue.isLoading = true; this.vue.isLoading = true;
}) })
} }
} }
})(window.gl || (window.gl = {})); })(window.gl || (window.gl = {}));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment