Small Fix
Removed unneccesary things from archive
This commit is contained in:
@@ -814,15 +814,8 @@ pub fn archived_tickets_component() -> Html {
|
|||||||
<div>
|
<div>
|
||||||
|
|
||||||
<li key={t.id.to_string()}>
|
<li key={t.id.to_string()}>
|
||||||
<Link<crate::Route> to={crate::Route::TicketById{id: t.id}}><h3>{ format!("{} - #{}", t.betreff, t.id) }</h3></Link<crate::Route>>
|
<Link<crate::Route> to={crate::Route::TicketById{id: t.id}}><h3>{ format!("{}", t.betreff) }</h3></Link<crate::Route>>
|
||||||
<p>{ &t.description }</p>
|
<p>{ &t.description }</p>
|
||||||
<p>{ match t.status.as_str() {
|
|
||||||
"ToDo" => "Zu tun",
|
|
||||||
"InProgress" => "In Bearbeitung",
|
|
||||||
"Completed" => "Erledigt",
|
|
||||||
"Archived" => "Archiviert",
|
|
||||||
_ => "Ungültiger Status"
|
|
||||||
}}</p>
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user