Skip to content

Commit 754292c

Browse files
committed
fix: 🔨 fix duplicated text in OAS badge
1 parent 01e5b56 commit 754292c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/views/UI.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default {
144144
);
145145
}
146146
document.querySelector('.swagger-ui .info .title small.version-stamp pre.version')
147-
.insertAdjacentHTML('beforeend', data?.openapi.includes('.') ? " " + data?.openapi.split('.', 2).join('.') : " " + data?.openapi)
147+
.innerHTML = data?.openapi.includes('.') ? "OAS " + data?.openapi.split('.', 2).join('.') : "OAS " + data?.openapi;
148148
}
149149
}
150150
});

0 commit comments

Comments
 (0)