Commit 3909b90b authored by Phil Hughes's avatar Phil Hughes Committed by Douglas Barbosa Alexandre

Changed loading indicator to match other dropdowns

parent 3460dd0a
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
data: { toggle: "dropdown" } } data: { toggle: "dropdown" } }
{{ currentBoard.name }} {{ currentBoard.name }}
= icon("caret-down") = icon("caret-down")
.dropdown-menu .dropdown-menu{ ":class" => "{ 'is-loading': loading }" }
.dropdown-title .dropdown-title
%button.dropdown-title-button.dropdown-menu-back{ type: "button", %button.dropdown-title-button.dropdown-menu-back{ type: "button",
aria: { label: "Go back" }, aria: { label: "Go back" },
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
%li{ "v-for" => "board in boards" } %li{ "v-for" => "board in boards" }
%a{ ":href" => "'#{namespace_project_boards_path(@project.namespace, @project)}/' + board.id" } %a{ ":href" => "'#{namespace_project_boards_path(@project.namespace, @project)}/' + board.id" }
{{ board.name }} {{ board.name }}
.text-center{ "v-if" => "loading" } .dropdown-loading{ "v-if" => "loading" }
= icon("spin spinner") = icon("spin spinner")
%board-selector-form{ "inline-template" => true, %board-selector-form{ "inline-template" => true,
"v-if" => "currentPage === 'edit'", "v-if" => "currentPage === 'edit'",
......
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