mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
8 lines
No EOL
244 B
JavaScript
8 lines
No EOL
244 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.reload();
|
|
}
|
|
} |