mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
8 lines
263 B
JavaScript
8 lines
263 B
JavaScript
|
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;
|
||
|
}
|
||
|
}
|