1
0
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:
Maicol Battistini 2021-11-09 15:32:10 +01:00
parent 265bc1e98f
commit 868a57b2a4
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A

View File

@ -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_'));
}