mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
UX: use new --danger modifier in dropdown (#34981)
Context: no longer using `btn-danger` for non-standard buttons, such as in a dropdown. Instead, replace with the dedicated `--danger` modifier.
This commit is contained in:
@@ -123,7 +123,7 @@ export default class TopicAdminMenu extends Component {
|
||||
@label="topic.actions.delete"
|
||||
@action={{fn this.onButtonAction "deleteTopic"}}
|
||||
@icon="trash-can"
|
||||
class="popup-menu-btn-danger btn-danger"
|
||||
class="popup-menu-btn-danger --danger"
|
||||
/>
|
||||
</dropdown.item>
|
||||
{{else if this.canRecover}}
|
||||
|
||||
Reference in New Issue
Block a user