mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Fixed global reload mechanism.
This commit is contained in:
parent
39ae5b9c2f
commit
9139d49628
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@ import { Controller } from '@hotwired/stimulus';
|
|||
export default class extends Controller {
|
||||
connect() {
|
||||
//If we encounter an element with global reload controller, then reload the whole page
|
||||
window.location.href = window.location.href;
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue