Skip to content

Commit

Permalink
Store item name in saved solver result
Browse files Browse the repository at this point in the history
fix #25
  • Loading branch information
Tnze committed Nov 9, 2024
1 parent dbbcfaa commit 5bccf2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/designer/Designer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ async function handleSolverResult(
slots,
maxid: actions.length,
source: solverName,
itemName: store.content?.item.name,
};
loadSeq(seq);
store.pushRotation(seq);
Expand Down
2 changes: 1 addition & 1 deletion src/components/designer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

import { Actions, Status } from '@/libs/Craft';
import { Actions } from '@/libs/Craft';

export interface Slot {
id: number;
Expand Down

0 comments on commit 5bccf2f

Please sign in to comment.