TypeError when moving away from an element before a classification was created
Sentry Issue: ARKINDEX-FRONTEND-AYB
TypeError: this.$refs.newClassificationSelect is null
at Vu.methods.createClassification (./src/components/Element/DetailsPanel.vue:176:9)
- Open an element.
- Once everything has loaded, open the dev tools and restrict the network bandwidth to something horrible like GPRS. Alternatively, edit your backend to add a
time.sleep(5)
inCreateClassification
. - Create a classification on that element.
- Switch to another page before the classification creation ends.
- Get TypeError'd.
- Cry.