Spaces:
Runtime error
Runtime error
Update templates/company_profile.html
Browse files
templates/company_profile.html
CHANGED
@@ -264,13 +264,9 @@
|
|
264 |
document.addEventListener('DOMContentLoaded', function () {
|
265 |
|
266 |
const role = sessionStorage.getItem('userRole');
|
267 |
-
console.log('Current role:', role); // Debug statement to
|
268 |
-
|
269 |
-
|
270 |
-
document.getElementById('add').style.display = 'block';
|
271 |
-
} else {
|
272 |
-
document.getElementById('add').style.display = 'none';
|
273 |
-
}
|
274 |
fetchCompanies();
|
275 |
});
|
276 |
window.addEventListener('pageshow', function (event) {
|
|
|
264 |
document.addEventListener('DOMContentLoaded', function () {
|
265 |
|
266 |
const role = sessionStorage.getItem('userRole');
|
267 |
+
console.log('Current role:', role); // Debug statement to chec
|
268 |
+
document.getElementById('add').style.display = 'block';
|
269 |
+
|
|
|
|
|
|
|
|
|
270 |
fetchCompanies();
|
271 |
});
|
272 |
window.addEventListener('pageshow', function (event) {
|