Skip to content

Commit 752f13f

Browse files
committed
bump version + fix formatting
1 parent bdda814 commit 752f13f

12 files changed

+16
-17
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-media-db-plugin",
33
"name": "Media DB Plugin",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"minAppVersion": "0.14.0",
66
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
77
"author": "Moritz Jung",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-media-db-plugin",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
55
"main": "main.js",
66
"scripts": {

src/modals/MediaDbPreviewModal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class MediaDbPreviewModal extends Modal {
7575
onOpen(): void {
7676
this.preview();
7777
}
78-
78+
7979
onClose(): void {
8080
this.closeCallback();
8181
}

src/models/BoardGameModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class BoardGameModel extends MediaTypeModel {
3030

3131
migrateObject(this, obj, this);
3232

33-
if(!obj.hasOwnProperty('userData')) {
33+
if (!obj.hasOwnProperty('userData')) {
3434
migrateObject(this.userData, obj, this.userData);
3535
}
3636

src/models/GameModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class GameModel extends MediaTypeModel {
3232

3333
migrateObject(this, obj, this);
3434

35-
if(!obj.hasOwnProperty('userData')) {
35+
if (!obj.hasOwnProperty('userData')) {
3636
migrateObject(this.userData, obj, this.userData);
3737
}
3838

src/models/MovieModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class MovieModel extends MediaTypeModel {
3737

3838
migrateObject(this, obj, this);
3939

40-
if(!obj.hasOwnProperty('userData')) {
40+
if (!obj.hasOwnProperty('userData')) {
4141
migrateObject(this.userData, obj, this.userData);
4242
}
4343

src/models/MusicReleaseModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class MusicReleaseModel extends MediaTypeModel {
3333

3434
migrateObject(this, obj, this);
3535

36-
if(!obj.hasOwnProperty('userData')) {
36+
if (!obj.hasOwnProperty('userData')) {
3737
migrateObject(this.userData, obj, this.userData);
3838
}
3939

src/models/SeriesModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class SeriesModel extends MediaTypeModel {
5252

5353
migrateObject(this, obj, this);
5454

55-
if(!obj.hasOwnProperty('userData')) {
55+
if (!obj.hasOwnProperty('userData')) {
5656
migrateObject(this.userData, obj, this.userData);
5757
}
5858

src/models/WikiModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class WikiModel extends MediaTypeModel {
3131

3232
migrateObject(this, obj, this);
3333

34-
if(!obj.hasOwnProperty('userData')) {
34+
if (!obj.hasOwnProperty('userData')) {
3535
migrateObject(this.userData, obj, this.userData);
3636
}
3737

src/settings/PropertyMappingModelComponent.svelte

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
{ #each model.properties as property }
2626
<div class="media-db-plugin-property-mapping-element">
2727
<div class="media-db-plugin-property-mapping-element-property-name-wrapper">
28-
<pre
29-
class="media-db-plugin-property-mapping-element-property-name"><code>{property.property}</code></pre>
28+
<pre class="media-db-plugin-property-mapping-element-property-name"><code>{property.property}</code></pre>
3029
</div>
3130
{ #if property.locked }
3231
<div class="media-db-plugin-property-binding-text">
@@ -46,16 +45,16 @@
4645
<div class="media-db-plugin-property-mapping-to">
4746
<input type="text" spellcheck="false" bind:value="{property.newProperty}">
4847
</div>
49-
{ /if }
50-
{ /if }
48+
{ /if }
49+
{ /if }
5150
</div>
52-
{ /each }
51+
{ /each }
5352
</div>
5453
{ #if !validationResult?.res }
5554
<div class="media-db-plugin-property-mapping-validation">
5655
{validationResult?.err?.message}
5756
</div>
58-
{ /if }
57+
{ /if }
5958
<button
6059
class="media-db-plugin-property-mappings-save-button {validationResult?.res ? 'mod-cta' : 'mod-muted'}"
6160
on:click={() => { if(model.validate().res) save(model) }}>Save

0 commit comments

Comments
 (0)