move saving of siteType to existing method

This commit is contained in:
Katie Kroell 2024-04-10 11:50:12 -04:00
parent 83a9dcf63d
commit c577872b66

View file

@ -61,7 +61,6 @@ export default {
if (clientTagPresent) {
const resp = await validateISSClientTag(clientTag);
this.mainStore.issConfig.siteType = resp.data.siteType;
if (resp?.data.active && resp?.data.accountName.length > 0) {
if (resp.data.authentication === 'RSAToken') {
@ -101,6 +100,7 @@ export default {
this.mainStore.issConfig.parentAccountNumber = data.parentAccountNumber;
this.mainStore.issConfig.styleSheet = data.styleSheet;
this.mainStore.issConfig.isCoverageEnabled = data.coverageEnabled;
this.mainStore.issConfig.siteType = data.siteType;
try {
if (data.clientFlags) {