Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
refactor(index): us Array.includes
jamesgeorge00720a7094d3388
diff --git a/pages/index.vue b/pages/index.vueindex 003fb233b..db5df7fc1 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -109,7 +109,7 @@<divclass="blue"label="Request Body"- v-if="method === 'POST' || method === 'PUT' || method === 'PATCH'"+ v-if="['POST', 'PUT', 'PATCH'].includes(method)"><ul><li>