Added:
- new simpler modal without bootstrap - new loadingbutton component - cleanupsome old code - toolbar adjusments
This commit is contained in:
@@ -26,7 +26,8 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
editManga() {
|
||||
console.log("Editing manga...");
|
||||
const event = new CustomEvent('openEditModal');
|
||||
document.dispatchEvent(event);
|
||||
}
|
||||
|
||||
deleteMangas() {
|
||||
@@ -34,13 +35,17 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
deleteManga() {
|
||||
console.log("Deleting manga...");
|
||||
const event = new CustomEvent('openDeleteModal');
|
||||
document.dispatchEvent(event);
|
||||
}
|
||||
|
||||
showOptions() {
|
||||
console.log("Showing options...");
|
||||
}
|
||||
|
||||
expandAll() {
|
||||
console.log("Expanding all...");
|
||||
}
|
||||
changeView(event) {
|
||||
event.preventDefault();
|
||||
const viewOption = event.currentTarget.dataset.view;
|
||||
|
||||
Reference in New Issue
Block a user