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
feat(common): change REST method text color based on selected method (#5116)
Benbeb3184bb332
diff --git a/packages/hoppscotch-common/src/components/http/Request.vue b/packages/hoppscotch-common/src/components/http/Request.vueindex 2ee8951f3..6afce1bf9 100644--- a/packages/hoppscotch-common/src/components/http/Request.vue+++ b/packages/hoppscotch-common/src/components/http/Request.vue@@ -20,6 +20,9 @@:value="tab.document.request.method":readonly="!isCustomMethod":placeholder="`${t('request.method')}`"+ :style="{+ color: getMethodLabelColor(tab.document.request.method),+ }"@input="onSelectMethod($event)"/></HoppSmartSelectWrapper>