π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:bug: Fixes numbers being removed from tags (#430)
Alicia Sykes6e2ae6d3fc05
diff --git a/src/components/InteractiveEditor/EditItem.vue b/src/components/InteractiveEditor/EditItem.vueindex 32539351..5be36839 100644--- a/src/components/InteractiveEditor/EditItem.vue+++ b/src/components/InteractiveEditor/EditItem.vue@@ -226,7 +226,7 @@ export default {if (newItem.hotkey) newItem.hotkey = parseInt(newItem.hotkey, 10);const strToTags = (str) => {const tagArr = str.split(',');- return tagArr.map((tag) => tag.trim().toLowerCase().replace(/[^a-z]+/, ''));+ return tagArr.map((tag) => tag.trim().toLowerCase().replace(/[^a-z0-9]+/, ''));};const strToBool = (str) => {if (str === undefined) return undefined;