mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-11-22 08:19:54 +00:00
Changed new url form to auto-clear on success
This commit is contained in:
parent
1bfc0eae29
commit
bebe863015
|
@ -153,6 +153,8 @@
|
||||||
Message = $"URL Generated! {link}";
|
Message = $"URL Generated! {link}";
|
||||||
Link = link.ToString();
|
Link = link.ToString();
|
||||||
MessageType = MessageComponent.AlertType.Success;
|
MessageType = MessageComponent.AlertType.Success;
|
||||||
|
New = new();
|
||||||
|
New.Id = GenerateNewId();
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GenerateNewId() {
|
private string GenerateNewId() {
|
||||||
|
|
Loading…
Reference in a new issue