mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-23 06:47:40 +01:00
refactor: ♻️ Refactor Alert
This commit is contained in:
parent
265bc1e98f
commit
868a57b2a4
@ -48,7 +48,7 @@ export default class Alert extends Component implements ClassComponent<{
|
||||
);
|
||||
}
|
||||
|
||||
oninit() {
|
||||
oninit(vnode) {
|
||||
if (this.attrs.get('id')) {
|
||||
this.attrs.put('id', uniqueId('dialog_'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user