Skip to content

Commit ebc5b8f

Browse files
committed
Update StableDiffusion.vue
1 parent 08989a0 commit ebc5b8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

electron_app/src/StableDiffusion.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export default {
2828
return {
2929
is_backend_loaded : false,
3030
is_input_avail : false,
31-
nsfw_filter: true,
3231
model_loading_msg : "",
3332
model_loading_title : "",
3433
loading_percentage : -1 ,
@@ -60,7 +59,7 @@ export default {
6059
6160
// check for nsfw content
6261
img.onload = () => {
63-
if (this.nsfw_filter == false) {
62+
if (this.$parent.app_state.app_data.settings.nsfw_filter == false) {
6463
if (img.attached_cbs) {
6564
if (img.attached_cbs.on_img)
6665
img.attached_cbs.on_img(impath);

0 commit comments

Comments
 (0)