mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
minifix(GUI): warning modal size class (#838)
The `settings-dangerous-modal` modal size class doesn't exist anymore, and was renamed to `warning-modal`. This was causing the exclamation sign from the header to not be displayed in red, as it should. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
71a73ab6c8
commit
1cc2cb9bad
@ -36,7 +36,7 @@ module.exports = function(ModalService) {
|
|||||||
return ModalService.open({
|
return ModalService.open({
|
||||||
template: './components/warning-modal/templates/warning-modal.tpl.html',
|
template: './components/warning-modal/templates/warning-modal.tpl.html',
|
||||||
controller: 'WarningModalController as modal',
|
controller: 'WarningModalController as modal',
|
||||||
size: 'settings-dangerous-modal',
|
size: 'warning-modal',
|
||||||
resolve: {
|
resolve: {
|
||||||
message: _.constant(message)
|
message: _.constant(message)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user