Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "0.27.1",
"version": "0.27.2",
"description": "DigiScript front end",
"author": "DreamTeamProd",
"private": true,
Expand Down Expand Up @@ -68,7 +68,7 @@
"jsdom": "^27.4.0",
"prettier": "^3.8.3",
"sass": "1.99.0",
"vite": "^7.3.1",
"vite": "^7.3.3",
"vitest": "^4.1.5"
},
"browserslist": [
Expand Down
13 changes: 6 additions & 7 deletions client/src/vue_components/show/config/script/ScriptEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -712,18 +712,17 @@ export default {
if (!this.IS_CUT_MODE) {
if (this.scriptChanges) {
this.savingInProgress = true;
this.totalSavePages = Object.keys(this.TMP_SCRIPT).length;
const tmpPageKeys = Object.keys(this.TMP_SCRIPT).map((x) => Number.parseInt(x, 10));
const maxPage = Math.max(this.currentMaxPage, ...tmpPageKeys, 0);
this.totalSavePages = maxPage;
this.curSavePage = 0;
this.$bvModal.show('save-script');

const orderedPages = Object.keys(this.TMP_SCRIPT)
.map((x) => parseInt(x, 10))
.sort((a, b) => a - b);

for (const pageNo of orderedPages) {
for (let pageNo = 1; pageNo <= maxPage; pageNo++) {
this.curSavePage = pageNo;
// Check whether the page actually has any lines on it, and if not then skip
const tmpScriptPage = this.TMP_SCRIPT[pageNo.toString()];
if (!tmpScriptPage) continue;
// Check whether the page actually has any lines on it, and if not then skip
if (tmpScriptPage.length !== 0) {
// Check the actual script to see if the page exists or not
const actualScriptPage = this.GET_SCRIPT_PAGE(pageNo);
Expand Down
4 changes: 2 additions & 2 deletions electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "digiscript-electron",
"version": "0.27.1",
"version": "0.27.2",
"description": "DigiScript Electron Desktop Application",
"author": "DreamTeamProd",
"license": "GPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "digiscript-server"
version = "0.27.1"
version = "0.27.2"
description = "DigiScript server - Digital script management for theatrical shows"
readme = "../README.md"
requires-python = ">=3.13"
Expand Down
Loading