Add new garbage tag

This commit is contained in:
Adriano Caloiaro 2023-07-29 22:17:08 -06:00
parent eaf6b43687
commit 3223df4dfb
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@ title: New Garbage
<option>Verbed noun</option>
<option>Nouned adjective</option>
<option>Novel garbage</option>
<option>Standard-issue garbage</option>
</select>
<br>
<br>

View file

@ -295,6 +295,7 @@ func editGarbageHandler(w http.ResponseWriter, r *http.Request) {
"Verbed noun",
"Nouned adjective",
"Novel garbage",
"Standard-issue garbage",
}
selectedTags := map[string]bool{}
if tags, ok := garbage.Metadata["tags"].([]interface{}); ok {