Replace <gl-deprecated-button> with <gl-button> in app/assets/javascripts/vue_shared/components/filtered_search_dropdown.vue
Instructions
Variant mapping guide
-
variant="primary"
-> variant="info" category="primary"
-
variant="secondary"
-> remove attribute
-
variant="dark"
-> remove attribute
-
variant="light"
-> remove attribute
-
variant="link"
-> keep attribute
-
variant="success"
-> variant="success" category="primary"
-
variant="outline-success"
-> variant="success" category="secondary"
-
variant="info"
-> variant="info" category="primary"
-
variant="outline-info"
-> variant="info" category="secondary"
-
variant="warning"
-> variant="warning" category="primary"
-
variant="outline-warning"
-> variant="warning" category="secondary"
-
variant="danger"
-> variant="danger" category="primary"
-
variant="outline-danger"
-> variant="danger" category="secondary"
Examples
- <gl-deprecated-button variant="outline-success" />
+ <gl-button variant="success" category="secondary" />
- <gl-deprecated-button variant="primary" />
+ <gl-button />
- <gl-deprecated-button variant="secondary" />
+ <gl-button />
- <gl-deprecated-button variant="success" />
+ <gl-button variant="success" category="primary" />